diff options
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webpack.config.js b/webpack.config.js index 4dab5cfbae..69d803b1e2 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -84,7 +84,7 @@ export default { }, devtool: false, output: { - path: fileURLToPath(new URL('public', import.meta.url)), + path: fileURLToPath(new URL('public/assets', import.meta.url)), filename: () => 'js/[name].js', chunkFilename: ({chunk}) => { const language = (/monaco.*languages?_.+?_(.+?)_/.exec(chunk.id) || [])[1]; @@ -147,7 +147,7 @@ export default { }, { test: /\.svg$/, - include: fileURLToPath(new URL('public/img/svg', import.meta.url)), + include: fileURLToPath(new URL('public/assets/img/svg', import.meta.url)), type: 'asset/source', }, { |