kn-cli 1.0.136 → 1.0.137

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.
@@ -11,7 +11,7 @@ const TerserPlugin = require('terser-webpack-plugin');
11
11
  const CopyPlugin = require('copy-webpack-plugin');
12
12
  const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
13
13
  const NowDateTime = Date.now();
14
- var HardSourceWebpackPlugin = require('hard-source-webpack-plugin');
14
+
15
15
 
16
16
  //////////// CONFIG ENV ///////////////
17
17
  const API_CONFIG = require('./webpack.api.js');
@@ -481,6 +481,7 @@ if(cssSplitMode){
481
481
  }
482
482
 
483
483
  if(CLI_CONFIG?.hardSourceWebpackPlugin){
484
+ var HardSourceWebpackPlugin = require('hard-source-webpack-plugin');
484
485
  const cacheDir = path.resolve(dirname, '.webpack_cache/[confighash]')
485
486
  warn(`hardSourceWebpackPlugin cacheDir:${cacheDir}`);
486
487
  plugins.push(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kn-cli",
3
- "version": "1.0.136",
3
+ "version": "1.0.137",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {