@caweb/webpack 1.5.6 → 1.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caweb/webpack",
3
- "version": "1.5.6",
3
+ "version": "1.5.8",
4
4
  "description": "CAWebPublishing Webpack Configuration",
5
5
  "main": "webpack.config.js",
6
6
  "files": [
package/webpack.config.js CHANGED
@@ -109,16 +109,12 @@ baseConfig.module.rules.forEach((rule, i) => {
109
109
  break;
110
110
  case new RegExp(/\.(sc|sa)ss$/).toString():
111
111
  rule.use[rule.use.length-1].options.sassOptions = {
112
- silenceDeprecations: ['global-builtin', 'import', 'color-functions', 'mixed-decls']
112
+ silenceDeprecations: ['global-builtin', 'import', 'color-functions']
113
113
  };
114
114
  break;
115
115
  }
116
116
  });
117
117
 
118
- // we remove the WordPress CleanWebpackPlugin definition
119
- // instead we use the Webpack output.clean definition
120
- baseConfig.plugins.splice(1,1, false);
121
-
122
118
  /**
123
119
  * we remove the WordPress devServer declaration since we can only have 1 when exporting multiple configurations
124
120
  *