Keep static/scripts as the output directory for JS files
(Instead, rather rename img to assets?)
This commit is contained in:
parent
f114f44cbb
commit
a905dc968b
2 changed files with 2 additions and 2 deletions
|
|
@ -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'
|
||||
],
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue