From 01b66f81f01fe412d763597213db8de53e212cdc Mon Sep 17 00:00:00 2001 From: Sergey Yarkov Date: Sat, 18 Jan 2020 18:19:29 +0300 Subject: [PATCH] wp --- webpack.config.js | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 webpack.config.js diff --git a/webpack.config.js b/webpack.config.js deleted file mode 100644 index c712f07..0000000 --- a/webpack.config.js +++ /dev/null @@ -1,26 +0,0 @@ -const path = require('path'); - -module.exports = { - entry: { - admin: ['@babel/polyfill', './src/admin/index.js'], - main: ['@babel/polyfill', './src/main/index.js'] - }, - output: { - filename: '[name].js', - path: path.join(__dirname, '/dist/public/js/') - }, - resolve: { - extensions: ['.js'] - }, - module: { - rules: [ - { test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader' } - ] - }, - devServer: { - contentBase: './dist/public/js', - proxy: { - "/": 'http://localhost:3000' - }, - } -} \ No newline at end of file