@zohodesk/client_build_tool 0.0.12-exp.1 → 0.0.12-exp.2

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.
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.SourceMapPlugin = void 0;
7
7
 
8
- var _webpack2 = require("webpack");
8
+ var _webpack = require("webpack");
9
9
 
10
10
  /* eslint-disable class-methods-use-this */
11
11
  function checkSmapFilePattern(assetName) {
@@ -31,7 +31,7 @@ class SourceMapPlugin {
31
31
  compiler.hooks.thisCompilation.tap(pluginName, compilation => {
32
32
  compilation.hooks.processAssets.tap({
33
33
  name: pluginName,
34
- stage: _webpack2.Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL
34
+ stage: _webpack.Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL
35
35
  }, assets => {
36
36
  Object.keys(assets).forEach(assetName => {
37
37
  const assetCode = assets[assetName].source();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/client_build_tool",
3
- "version": "0.0.12-exp.1",
3
+ "version": "0.0.12-exp.2",
4
4
  "description": "A CLI tool to build web applications and client libraries",
5
5
  "main": "lib/index.js",
6
6
  "bin": {