Skip to content

Commit

Permalink
webpack config - remove base config spread instances (handled by webp…
Browse files Browse the repository at this point in the history
…ack-merge
  • Loading branch information
kubijo committed Sep 27, 2016
1 parent 03c35a0 commit c9ff67b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions webpack.config.development.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ export default validate(merge(baseConfig, {
},

plugins: [
...baseConfig.plugins,

// https://webpack.github.io/docs/hot-module-replacement-with-webpack.html
new webpack.HotModuleReplacementPlugin(),

Expand Down
4 changes: 0 additions & 4 deletions webpack.config.production.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ const config = validate(merge(baseConfig, {

module: {
loaders: [
...baseConfig.module.loaders,

// Extract all .global.css to style.css as is
{
test: /\.global\.css$/,
Expand All @@ -45,8 +43,6 @@ const config = validate(merge(baseConfig, {
},

plugins: [
...baseConfig.plugins,

// https://webpack.github.io/docs/list-of-plugins.html#occurrenceorderplugin
// https://github.com/webpack/webpack/issues/864
new webpack.optimize.OccurrenceOrderPlugin(),
Expand Down

0 comments on commit c9ff67b

Please sign in to comment.