Skip to content

Commit

Permalink
fix(cli): @vue/cli5 static 目录条件编译 dcloudio#4181
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenyuWang committed Mar 8, 2023
1 parent 17daccc commit 5869d16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue-cli-plugin-uni/lib/copy-webpack-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function getAssetsCopyOptions (assetsDir) {

global.uniPlugin.platforms.forEach(platform => {
if (global.uniPlugin.name !== platform) {
ignore.push(platform + '/**/*')
ignore.push(`${process.env.UNI_INPUT_DIR.replace(/\\/g, '/')}/static/${platform}/**/*`)
}
})

Expand Down

0 comments on commit 5869d16

Please sign in to comment.