mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
fix: build output is not correct if plugin using some old amd library (#6665)
* fix: build output is not correct if plugin using some old amd library * fix: amd library build error
This commit is contained in:
parent
51579611f2
commit
5534cafdc2
@ -17,7 +17,7 @@
|
|||||||
"@lerna/project": "4.0.0",
|
"@lerna/project": "4.0.0",
|
||||||
"@rsbuild/plugin-babel": "^1.0.3",
|
"@rsbuild/plugin-babel": "^1.0.3",
|
||||||
"@rsdoctor/rspack-plugin": "^0.4.8",
|
"@rsdoctor/rspack-plugin": "^0.4.8",
|
||||||
"@rspack/core": "1.1.1",
|
"@rspack/core": "1.3.2",
|
||||||
"@svgr/webpack": "^8.1.0",
|
"@svgr/webpack": "^8.1.0",
|
||||||
"@types/gulp": "^4.0.13",
|
"@types/gulp": "^4.0.13",
|
||||||
"@types/lerna__package": "5.1.0",
|
"@types/lerna__package": "5.1.0",
|
||||||
|
@ -347,6 +347,7 @@ export async function buildPluginClient(cwd: string, userConfig: UserConfig, sou
|
|||||||
umdNamedDefine: true,
|
umdNamedDefine: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
amd: {},
|
||||||
resolve: {
|
resolve: {
|
||||||
tsConfig: path.join(process.cwd(), 'tsconfig.json'),
|
tsConfig: path.join(process.cwd(), 'tsconfig.json'),
|
||||||
extensions: ['.js', '.jsx', '.ts', '.tsx', '.json', '.less', '.css'],
|
extensions: ['.js', '.jsx', '.ts', '.tsx', '.json', '.less', '.css'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user