diff options
-rw-r--r-- | webpack.config.js | 6 |
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' }, ], }), ], |