Keep static/scripts as the output directory for JS files

(Instead, rather rename img to assets?)
This commit is contained in:
Tobi Schäfer 2025-06-01 21:03:19 +02:00
parent f114f44cbb
commit a905dc968b
Signed by: tobi
GPG key ID: 91FAE6FE2EBAC4C8
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ import babel from 'esbuild-plugin-babel';
esbuild.build({
define: { 'process.env.NODE_ENV': '"production"' },
outdir: 'static/js',
outdir: 'static/scripts',
entryPoints: [
'./client/code-mirror.mjs'
],

View file

@ -22,7 +22,7 @@
EditorState,
MergeView,
html
} from '<% root.static ../../js/code-mirror-DIBXQ677.js %>';
} from '<% root.static ../../scripts/code-mirror-DIBXQ677.js %>';
const language = new Compartment();