Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
fix: 修复 scope 包的引用错误 (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
newset authored and yesmeck committed Sep 16, 2019
1 parent 25fb5fc commit f2e8cb7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/remax-cli/src/build/rollupConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,7 @@ export default function rollupConfig(
.replace(/node_modules/g, 'npm')
.replace(/\.js_commonjs-proxy$/, '.js_commonjs-proxy.js')
// 支付宝小程序不允许目录带 @
.replace(
/@(.+?)\/(.+)$/,
(match, group1, group2) => `_${group1}/${group2}`
)
.replace(/@/g, '_')
);
},
}),
Expand Down

0 comments on commit f2e8cb7

Please sign in to comment.