/* globals __dirname module */ const merge = require('webpack-merge'); const common = require('./webpack.common.js'); const path = require('path'); module.exports = merge(common, { mode: 'development', devtool: 'source-map', devServer: { // public: "myapp.test", publicPath: '/bundles/', contentBase: path.resolve(__dirname, 'public', 'bundles'), host: 'localhost', port: 3035, disableHostCheck: true, headers: { 'Access-Control-Allow-Origin': '*' } } });