mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-15 06:07:30 +03:00
26 lines
474 B
JavaScript
26 lines
474 B
JavaScript
|
var path = require('path');
|
||
|
var webpack = require('webpack');
|
||
|
|
||
|
module.exports = {
|
||
|
mode: 'development',
|
||
|
devtool: 'source-map',
|
||
|
entry: [path.join(__dirname, 'src', 'main')],
|
||
|
output: {
|
||
|
path: path.join(__dirname, 'dist'),
|
||
|
filename: 'bundle.js',
|
||
|
publicPath: '/static/',
|
||
|
},
|
||
|
module: {
|
||
|
rules: [
|
||
|
{
|
||
|
test: /\.js$/,
|
||
|
loaders: ['babel-loader'],
|
||
|
exclude: /node_modules/,
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
devServer: {
|
||
|
port: 4003,
|
||
|
},
|
||
|
};
|