static: use dist folder
This commit is contained in:
parent
b849b2aef3
commit
322ad0890a
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -27,7 +27,6 @@ media
|
||||||
.Python
|
.Python
|
||||||
build/
|
build/
|
||||||
develop-eggs/
|
develop-eggs/
|
||||||
dist/
|
|
||||||
downloads/
|
downloads/
|
||||||
eggs/
|
eggs/
|
||||||
.eggs/
|
.eggs/
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
<link rel="stylesheet" type="text/css" href="{% static 'node_modules/@patternfly/patternfly/patternfly-addons.css' %}">
|
<link rel="stylesheet" type="text/css" href="{% static 'node_modules/@patternfly/patternfly/patternfly-addons.css' %}">
|
||||||
<link rel="stylesheet" type="text/css" href="{% static 'node_modules/@fortawesome/fontawesome-free/css/fontawesome.min.css' %}">
|
<link rel="stylesheet" type="text/css" href="{% static 'node_modules/@fortawesome/fontawesome-free/css/fontawesome.min.css' %}">
|
||||||
<link rel="stylesheet" type="text/css" href="{% static 'passbook/passbook.css' %}">
|
<link rel="stylesheet" type="text/css" href="{% static 'passbook/passbook.css' %}">
|
||||||
<script src="{% static 'passbook/main.js' %}" type="module"></script>
|
<script src="{% static 'dist/main.js' %}" type="module"></script>
|
||||||
{% block head %}
|
{% block head %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
|
|
3
passbook/static/static/.gitignore
vendored
3
passbook/static/static/.gitignore
vendored
|
@ -80,9 +80,6 @@ typings/
|
||||||
# nuxt.js build output
|
# nuxt.js build output
|
||||||
.nuxt
|
.nuxt
|
||||||
|
|
||||||
# rollup.js default build output
|
|
||||||
dist/
|
|
||||||
|
|
||||||
# Uncomment the public line if your project uses Gatsby
|
# Uncomment the public line if your project uses Gatsby
|
||||||
# https://nextjs.org/blog/next-9-1#public-directory-support
|
# https://nextjs.org/blog/next-9-1#public-directory-support
|
||||||
# https://create-react-app.dev/docs/using-the-public-folder/#docsNav
|
# https://create-react-app.dev/docs/using-the-public-folder/#docsNav
|
||||||
|
|
|
@ -11,7 +11,7 @@ export default [{
|
||||||
output: [
|
output: [
|
||||||
{
|
{
|
||||||
format: 'es',
|
format: 'es',
|
||||||
dir: 'passbook',
|
dir: 'dist',
|
||||||
sourcemap: true
|
sourcemap: true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Reference in a new issue