Skip to content

Commit

Permalink
chore: 修复在Windows环境下样式文件拷贝的路径分隔符问题
Browse files Browse the repository at this point in the history
解决了在Windows环境下的路径分隔符问题,该问题导致样式文件无法正确拷贝。
  • Loading branch information
xiayuxuan committed Jan 19, 2024
1 parent 7f6c0fb commit aa13e2d
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 aa13e2d

Please sign in to comment.