Skip to content

Commit

Permalink
chore: 修复在Windows环境下样式文件拷贝的路径分隔符问题 (#1752)
Browse files Browse the repository at this point in the history
解决了在Windows环境下的路径分隔符问题,该问题导致样式文件无法正确拷贝。

Co-authored-by: xiayuxuan <[email protected]>
  • Loading branch information
Saraph1nes and xiayuxuan authored Jan 19, 2024
1 parent 7f6c0fb commit 07c0d17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/taro-ui/config/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import iconsMaker from './iconsMaker.js'

iconsMaker('../rn/assets/iconfont.svg')

const resolveFile = path => NodePath.resolve(__dirname, '..', path)
const resolveFile = path =>
NodePath.resolve(__dirname, '..', path).split(NodePath.sep).join('/')

const externalPackages = [
'react',
Expand Down

0 comments on commit 07c0d17

Please sign in to comment.