mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
fix: 修复 @fex 替换不全导致内网版本部分组件无法加载问题 (#5412)
This commit is contained in:
parent
386caf2c06
commit
d96a90bed3
@ -38,12 +38,14 @@ for f in $(find ./packages/*/lib -type f -name "*.[tj]s"); do
|
||||
sed -i '' -e "s/from \'amis/from \'@fex\/amis/g" $f
|
||||
sed -i '' -e "s/import(\'amis/import(\'@fex\/amis/g" $f
|
||||
sed -i '' -e "s/require(\'amis/require(\'@fex\/amis/g" $f
|
||||
sed -i '' -e "s/require(\[\'amis/require(\[\'@fex\/amis/g" $f
|
||||
done
|
||||
|
||||
for f in $(find ./packages/*/esm -type f -name "*.[tj]s"); do
|
||||
sed -i '' -e "s/from \'amis/from \'@fex\/amis/g" $f
|
||||
sed -i '' -e "s/import(\'amis/import(\'@fex\/amis/g" $f
|
||||
sed -i '' -e "s/require(\'amis/require(\'@fex\/amis/g" $f
|
||||
sed -i '' -e "s/require(\[\'amis/require(\[\'@fex\/amis/g" $f
|
||||
done
|
||||
|
||||
npm publish --workspaces --registry=http://registry.npm.baidu-int.com --ignore-scripts
|
||||
|
Loading…
Reference in New Issue
Block a user