File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,18 @@ module.exports = {
2626 } )
2727 const definePlugin = webpackConfig . plugins . find ( ( plugin ) => plugin . constructor . name === "DefinePlugin" ) ;
2828 Object . assign ( definePlugin . definitions [ "process.env" ] , { STATIC_BASE_URL : `"${ env . staticBaseUrl } "` } ) ;
29+ webpackConfig . resolve . fallback = {
30+ "path" : false ,
31+ "util" : false ,
32+ "url" : false ,
33+ "http" : false ,
34+ "https" : false ,
35+ "stream" : false ,
36+ "assert" : false ,
37+ "querystring" : false ,
38+ "zlib" : false ,
39+ "fs" : false
40+ } ;
2941 return webpackConfig ;
3042 }
3143} ;
Original file line number Diff line number Diff line change 11{
22 "name" : " @kne/modules-dev" ,
3- "version" : " 2.0.27 " ,
3+ "version" : " 2.0.28 " ,
44 "description" : " 用于辅助在项目内启动一个规范化组件开发的环境" ,
55 "publishConfig" : {
66 "source" : " src/index.js" ,
3131 "author" : " linzp" ,
3232 "license" : " ISC" ,
3333 "dependencies" : {
34- "@babel/helper-module-transforms" : " 7.24.5" ,
3534 "@kne/apply-template" : " ^0.1.1" ,
3635 "@kne/camel-case" : " ^0.1.1" ,
3736 "@kne/craco-module-federation" : " ^1.1.5" ,
You can’t perform that action at this time.
0 commit comments