cont.
This commit is contained in:
parent
5159b90e42
commit
54cf201a51
|
@ -32,7 +32,7 @@ const serverConfig = {
|
||||||
externals: [
|
externals: [
|
||||||
nodeExternals(), // 忽略 Node.js 核心模块
|
nodeExternals(), // 忽略 Node.js 核心模块
|
||||||
// 自定义的外部模块
|
// 自定义的外部模块
|
||||||
{ "react": "React", "react-dom": "ReactDOM" }
|
{ "react": "React", "react-dom": "ReactDOM" ,"alex": "Alex"}
|
||||||
],
|
],
|
||||||
resolve: {
|
resolve: {
|
||||||
// This allows you to set a fallback for where Webpack should look for modules.
|
// This allows you to set a fallback for where Webpack should look for modules.
|
||||||
|
|
Loading…
Reference in New Issue