1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-04-26 20:16:38 +02:00
TableFilter/webpack.dev.config.js
2018-03-18 13:31:54 +11:00

26 lines
637 B
JavaScript

const webpackConfig = require('./webpack.config.js');
const webpack = require('webpack');
const 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
}
};