From 322ad0890acb74e4d2922704ed26253503ce354d Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 21 Nov 2020 18:34:45 +0100 Subject: [PATCH] static: use dist folder --- .gitignore | 1 - passbook/core/templates/base/skeleton.html | 2 +- passbook/static/static/.gitignore | 3 --- passbook/static/static/{passbook => dist}/main.js | 0 passbook/static/static/{passbook => dist}/main.js.map | 0 passbook/static/static/rollup.config.js | 2 +- 6 files changed, 2 insertions(+), 6 deletions(-) rename passbook/static/static/{passbook => dist}/main.js (100%) rename passbook/static/static/{passbook => dist}/main.js.map (100%) diff --git a/.gitignore b/.gitignore index 062bd9635..ae7a6982b 100644 --- a/.gitignore +++ b/.gitignore @@ -27,7 +27,6 @@ media .Python build/ develop-eggs/ -dist/ downloads/ eggs/ .eggs/ diff --git a/passbook/core/templates/base/skeleton.html b/passbook/core/templates/base/skeleton.html index 3db493985..0c60ff31a 100644 --- a/passbook/core/templates/base/skeleton.html +++ b/passbook/core/templates/base/skeleton.html @@ -17,7 +17,7 @@ - + {% block head %} {% endblock %} diff --git a/passbook/static/static/.gitignore b/passbook/static/static/.gitignore index 3eb381dee..9da2031f9 100644 --- a/passbook/static/static/.gitignore +++ b/passbook/static/static/.gitignore @@ -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 diff --git a/passbook/static/static/passbook/main.js b/passbook/static/static/dist/main.js similarity index 100% rename from passbook/static/static/passbook/main.js rename to passbook/static/static/dist/main.js diff --git a/passbook/static/static/passbook/main.js.map b/passbook/static/static/dist/main.js.map similarity index 100% rename from passbook/static/static/passbook/main.js.map rename to passbook/static/static/dist/main.js.map diff --git a/passbook/static/static/rollup.config.js b/passbook/static/static/rollup.config.js index 8d728daa0..aedf52314 100644 --- a/passbook/static/static/rollup.config.js +++ b/passbook/static/static/rollup.config.js @@ -11,7 +11,7 @@ export default [{ output: [ { format: 'es', - dir: 'passbook', + dir: 'dist', sourcemap: true } ],