1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-04-27 04:22:10 +02:00
TableFilter/webpack.dev.config.js

26 lines
637 B
JavaScript
Raw Normal View History

const webpackConfig = require('./webpack.config.js');
const webpack = require('webpack');
const StringReplacePlugin = require('string-replace-webpack-plugin');
2017-02-03 07:04:07 +01:00
module.exports = {
2018-02-28 11:53:57 +01:00
mode: 'development',
2017-02-03 07:04:07 +01:00
cache: true,
entry: webpackConfig.entry,
output: webpackConfig.output,
resolve: webpackConfig.resolve,
module: webpackConfig.module,
devtool: 'source-map',
plugins: [
new webpack.LoaderOptionsPlugin({
debug: true
2017-02-03 15:00:29 +01:00
}),
new StringReplacePlugin()
2018-03-02 13:24:16 +01:00
],
devServer: {
port: 8080,
host: '0.0.0.0',
publicPath: '/dist',
hot: true
}
2017-02-03 07:04:07 +01:00
};