diff --git a/packages/omi-cli/lib/init.js b/packages/omi-cli/lib/init.js index d7614ed2b..29730e588 100755 --- a/packages/omi-cli/lib/init.js +++ b/packages/omi-cli/lib/init.js @@ -67,7 +67,7 @@ function init(args) { ); vfs - .src(["**/*", "!mode_modules/**/*"], { + .src(["**/*", "!node_modules/**/*"], { cwd: tpl, cwdbase: true, dot: true