Skip to content
This repository has been archived by the owner on Jan 18, 2019. It is now read-only.

Commit

Permalink
fix(Webpack): Resolve webpack dev errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hypery2k committed Dec 19, 2018
1 parent 53fa2fd commit f13c53f
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions etc/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,14 @@ const METADATA = webpackMerge(commonConfig.metadata, {
*/
var config = webpackMerge(commonConfig, {

/**
* Switch loaders to debug mode.
*
* See: http://webpack.github.io/docs/configuration.html#debug
*/
debug: true,

bail: false,
/**
* Developer tool to enhance debugging
*
* See: http://webpack.github.io/docs/configuration.html#devtool
* See: https://github.com/webpack/docs/wiki/build-performance#sourcemaps
*/
devtool: 'source-map',
devtool: 'cheap-eval-source-map',

/**
* Options affecting the output of the compilation.
Expand Down Expand Up @@ -169,7 +163,6 @@ var config = webpackMerge(commonConfig, {
aggregateTimeout: 300,
poll: 1000
},
contentBase: "http://" + METADATA.host + ":" + METADATA.port + appConfig.dist,
proxy: appConfig.proxy
},

Expand All @@ -191,4 +184,3 @@ var config = webpackMerge(commonConfig, {

debugLog('Using following webpack dev config:', config);
module.exports = config;

0 comments on commit f13c53f

Please sign in to comment.