summaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2020-10-28 20:24:41 +0100
committerDaniel Weipert <code@drogueronin.de>2020-10-28 20:26:03 +0100
commit73c4fbbbedc67aa85686db9ff1e7624f655b7483 (patch)
treecf046c85244527a97f110a5fd5fce354c0c2e517 /webpack.config.js
parentff5b1598c918b12ff9b222b0397b43d0ed5ffae6 (diff)
Moves assets folder path to webpack output
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 9e2680e..800e6ba 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -4,14 +4,14 @@ const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
module.exports = {
entry: {},
output: {
- path: __dirname,
+ path: __dirname + '/assets',
},
plugins: [
new CopyWebpackPlugin({
patterns: [
- { from: __dirname + '/node_modules/codemirror/mode/twig/twig.js', to: __dirname + '/assets/codemirror/mode/twig/twig.js' },
- { from: __dirname + '/node_modules/codemirror/theme', to: __dirname + '/assets/codemirror/theme' },
+ { from: __dirname + '/node_modules/codemirror/mode/twig/twig.js', to: 'codemirror/mode/twig/twig.js' },
+ { from: __dirname + '/node_modules/codemirror/theme', to: 'codemirror/theme' },
],
}),
],