1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-05-04 07:33:18 +02:00
TableFilter/webpack.dev.config.js
2018-03-02 23:24:16 +11:00

26 lines
631 B
JavaScript

var webpackConfig = require('./webpack.config.js');
var webpack = require('webpack');
var StringReplacePlugin = require('string-replace-webpack-plugin');
module.exports = {
mode: 'development',
cache: true,
entry: webpackConfig.entry,
output: webpackConfig.output,
resolve: webpackConfig.resolve,
module: webpackConfig.module,
devtool: 'source-map',
plugins: [
new webpack.LoaderOptionsPlugin({
debug: true
}),
new StringReplacePlugin()
],
devServer: {
port: 8080,
host: '0.0.0.0',
publicPath: '/dist',
hot: true
}
};