kn-cli 1.0.112 → 1.0.113

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.
@@ -379,7 +379,9 @@ const plugins= [
379
379
 
380
380
  if(devMode){
381
381
  if(devServer?.hot&&devServer?.reactRefresh==true){
382
- plugins.push( new ReactRefreshWebpackPlugin() ) // 添加 React Refresh 插件
382
+ plugins.push( new ReactRefreshWebpackPlugin({
383
+ overlay:false//关闭全局的错误提示
384
+ }) ) // 添加 React Refresh 插件
383
385
  }
384
386
  plugins.push(new webpack.SourceMapDevToolPlugin({
385
387
  filename: 'sourcemap/[file].map',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kn-cli",
3
- "version": "1.0.112",
3
+ "version": "1.0.113",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {