static: use dist folder

This commit is contained in:
Jens Langhammer 2020-11-21 18:34:45 +01:00
parent b849b2aef3
commit 322ad0890a
6 changed files with 2 additions and 6 deletions

1
.gitignore vendored
View file

@ -27,7 +27,6 @@ media
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/

View file

@ -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>

View file

@ -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

View file

@ -11,7 +11,7 @@ export default [{
output: [
{
format: 'es',
dir: 'passbook',
dir: 'dist',
sourcemap: true
}
],