weboptimizer 2.0.1570 → 2.0.1572

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.
Files changed (2) hide show
  1. package/ejsLoader.js +1 -2
  2. package/package.json +7 -3
package/ejsLoader.js CHANGED
@@ -228,8 +228,7 @@ var loader = exports.loader = function loader(source) {
228
228
  compileDebug: givenOptions.debug,
229
229
  debug: givenOptions.debug,
230
230
  filename: this.resourcePath || 'unknown',
231
- isString: true,
232
- localsName: 'scope'
231
+ isString: true
233
232
  }), givenOptions.compileSteps)(givenOptions.locals || {});
234
233
  };
235
234
  var _default = exports["default"] = loader;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weboptimizer",
3
- "version": "2.0.1570",
3
+ "version": "2.0.1572",
4
4
  "description": "A generic web optimizer, (module) bundler and development environment.",
5
5
  "keywords": [
6
6
  "webpack",
@@ -668,7 +668,9 @@
668
668
  "__evaluate__": "`${filesystem.isFileSync(path.resolve(self.path.source.base, `${self.files.defaultHTML.filename}.ejs`)) ? path.resolve(self.path.source.base, `${self.files.defaultHTML.filename}.ejs`) : path.resolve(webOptimizerPath, 'index.html.ejs')}`"
669
669
  },
670
670
  "postCompileOptions": {
671
- "compileSteps": 0
671
+ "compileSteps": 0,
672
+ "strict": true,
673
+ "_with": false
672
674
  },
673
675
  "use": [
674
676
  {
@@ -1089,7 +1091,9 @@
1089
1091
  "cache": true,
1090
1092
  "compileDebug": false,
1091
1093
  "debug": false,
1092
- "localsName": "_"
1094
+ "localsName": "_",
1095
+ "strict": true,
1096
+ "_with": false
1093
1097
  },
1094
1098
  "compress": {
1095
1099
  "html": {