Skip to content

Commit

Permalink
fix: miniapp native dir copy (#3761)
Browse files Browse the repository at this point in the history
  • Loading branch information
SoloJiang authored Nov 4, 2020
1 parent 395ee8a commit 304aa0c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/plugin-rax-miniapp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "build-plugin-rax-miniapp",
"version": "1.0.3",
"version": "1.0.4-0",
"description": "rax miniapp app plugin",
"main": "lib/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-rax-miniapp/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ module.exports = (api) => {
config.plugin('CopyWebpackPlugin').tap(([copyList]) => {
return [copyList.concat(needCopyDirs)];
});
} else if (needCopyDirs.length > 1) {
} else if (needCopyDirs.length > 0) {
config
.plugin('CopyWebpackPlugin')
.use(CopyWebpackPlugin, [needCopyDirs]);
Expand Down
4 changes: 2 additions & 2 deletions packages/rax-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rax-app",
"version": "3.0.7-0",
"version": "3.0.7-1",
"description": "command line interface and builtin plugin for rax app",
"author": "[email protected]",
"homepage": "https://github.com/alibaba/ice#readme",
Expand All @@ -21,7 +21,7 @@
"build-plugin-rax-web": "1.0.5",
"build-plugin-rax-weex": "1.0.5",
"build-plugin-rax-kraken": "1.0.4",
"build-plugin-rax-miniapp": "1.0.3",
"build-plugin-rax-miniapp": "1.0.4-0",
"build-plugin-ssr": "1.0.5",
"chokidar": "^3.3.1",
"commander": "^5.0.0",
Expand Down

0 comments on commit 304aa0c

Please sign in to comment.