mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
chore(runtime:tmagic-form): 更新版本
This commit is contained in:
parent
20a540f0fc
commit
c6ac0a0a2b
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "1.0.8",
|
"version": "1.0.9",
|
||||||
"name": "@tmagic/tmagic-form-runtime",
|
"name": "@tmagic/tmagic-form-runtime",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"sideEffects": [
|
"sideEffects": [
|
||||||
|
@ -38,7 +38,7 @@ export default defineConfig({
|
|||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
// 确保外部化处理那些你不想打包进库的依赖
|
// 确保外部化处理那些你不想打包进库的依赖
|
||||||
external(id: string) {
|
external(id: string) {
|
||||||
return Object.keys(pkg.dependencies).some((k) => new RegExp(`^${k}`).test(id));
|
return Object.keys(pkg.peerDependencies).some((k) => new RegExp(`^${k}`).test(id));
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user