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
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
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/@fortawesome/fontawesome-free/css/fontawesome.min.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 %}
|
||||
{% endblock %}
|
||||
</head>
|
||||
|
|
3
passbook/static/static/.gitignore
vendored
3
passbook/static/static/.gitignore
vendored
|
@ -80,9 +80,6 @@ typings/
|
|||
# nuxt.js build output
|
||||
.nuxt
|
||||
|
||||
# rollup.js default build output
|
||||
dist/
|
||||
|
||||
# Uncomment the public line if your project uses Gatsby
|
||||
# https://nextjs.org/blog/next-9-1#public-directory-support
|
||||
# https://create-react-app.dev/docs/using-the-public-folder/#docsNav
|
||||
|
|
|
@ -11,7 +11,7 @@ export default [{
|
|||
output: [
|
||||
{
|
||||
format: 'es',
|
||||
dir: 'passbook',
|
||||
dir: 'dist',
|
||||
sourcemap: true
|
||||
}
|
||||
],
|
||||
|
|
Reference in a new issue