@zohodesk/client_build_tool 0.0.16-exp.3 → 0.0.16-exp.4

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.
@@ -27,9 +27,12 @@ class ChunkHierarchyPlugin {
27
27
  }
28
28
 
29
29
  const json = JSON.stringify(result, null, 2);
30
- const outputPath = path.join(compiler.outputPath, this.outputFile); // fs.mkdirSync(outputPath, { recursive: true });
31
-
32
- fs.writeFileSync(outputPath, json, 'utf-8');
30
+ const outputPath = compiler.outputPath;
31
+ const outputFile = path.join(outputPath, this.outputFile);
32
+ fs.mkdirSync(outputPath, {
33
+ recursive: true
34
+ });
35
+ fs.writeFileSync(outputFile, json, 'utf-8');
33
36
  callback();
34
37
  });
35
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/client_build_tool",
3
- "version": "0.0.16-exp.3",
3
+ "version": "0.0.16-exp.4",
4
4
  "description": "A CLI tool to build web applications and client libraries",
5
5
  "main": "lib/index.js",
6
6
  "bin": {