diff --git a/src/rfront/front/webpack.config.js b/src/rfront/front/webpack.config.js index b144c78..db4ee12 100644 --- a/src/rfront/front/webpack.config.js +++ b/src/rfront/front/webpack.config.js @@ -1,9 +1,9 @@ const CopyWebpackPlugin = require('copy-webpack-plugin'); -const config = require('./src/config'); +const config = require('./config'); module.exports = { mode: config.debug ? 'development' : 'production', - entry: `${__dirname}/src/frontend/index.js`, + entry: `${__dirname}/front/index.js`, module: { rules: [ { @@ -17,13 +17,5 @@ module.exports = { filename: 'index.js', path: `${__dirname}/public`, publicPath: '/', - }, - plugins: [ - new CopyWebpackPlugin({ - patterns: [ - { from: 'node_modules/xterm/css', to: 'xterm/css' }, - { from: 'node_modules/xterm/lib', to: 'xterm/lib' }, - ], - }), - ], + } };