weboptimizer 2.0.1191 → 2.0.1194

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/configurator.js CHANGED
@@ -353,10 +353,10 @@ var load = function load(context) {
353
353
  }, resolvedConfiguration.path.context,
354
354
  /*
355
355
  NOTE: We doesn't use
356
- "resolvedConfiguration.path.source.asset.base" because
357
- we already have resolved all module ids.
356
+ "resolvedConfiguration.path.source.asset.base" because we
357
+ already have resolved all module ids.
358
358
  */
359
- './', resolvedConfiguration.path.ignore, resolvedConfiguration.module.directoryNames, resolvedConfiguration["package"].main.fileNames, resolvedConfiguration["package"].main.propertyNames, resolvedConfiguration["package"].aliasPropertyNames, resolvedConfiguration.encoding);
359
+ '', resolvedConfiguration.path.ignore, resolvedConfiguration.module.directoryNames, resolvedConfiguration["package"].main.fileNames, resolvedConfiguration["package"].main.propertyNames, resolvedConfiguration["package"].aliasPropertyNames, resolvedConfiguration.encoding);
360
360
 
361
361
  var _type2 = null;
362
362
  if (_filePath) _type2 = _helper["default"].determineAssetType(_filePath, resolvedConfiguration.buildContext.types, resolvedConfiguration.path);else throw new Error("Given request \"".concat(moduleID, "\" couldn't be resolved."));
package/helper.js CHANGED
@@ -612,7 +612,7 @@ var Helper = /*#__PURE__*/function () {
612
612
  var _file$stats2;
613
613
 
614
614
  var file = _step8.value;
615
- if ((_file$stats2 = file.stats) !== null && _file$stats2 !== void 0 && _file$stats2.isFile()) chunk.push('./' + (0, _path.relative)(referencePath, (0, _path.resolve)(resolvedPath, file.path)));
615
+ if ((_file$stats2 = file.stats) !== null && _file$stats2 !== void 0 && _file$stats2.isFile()) chunk.push('./' + (0, _path.relative)(context, (0, _path.resolve)(resolvedPath, file.path)));
616
616
  }
617
617
  } catch (err) {
618
618
  _iterator8.e(err);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weboptimizer",
3
- "version": "2.0.1191",
3
+ "version": "2.0.1194",
4
4
  "description": "A generic web optimizer, (module) bundler and development environment.",
5
5
  "keywords": [
6
6
  "webpack",
@@ -1610,6 +1610,13 @@
1610
1610
  }
1611
1611
  }
1612
1612
  },
1613
+ "development": {
1614
+ "server": {
1615
+ "devMiddleware": {
1616
+ "index": "playground.html"
1617
+ }
1618
+ }
1619
+ },
1613
1620
  "document": {
1614
1621
  "commandLine": {
1615
1622
  "document": {