mirror of
https://github.com/sergeyyarkov/digital-store.git
synced 2026-10-11 10:19:15 +03:00
wp
This commit is contained in:
parent
629df78a22
commit
01b66f81f0
@ -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'
|
||||
},
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user