diff --git a/packages/vue-cli-plugin-uni/lib/commands/custom.js b/packages/vue-cli-plugin-uni/lib/commands/custom.js index 2d4b20bdefe8dd380e1aa0b733db848f98f6f9d6..e18ca26403b0e7131e5e8640cc1f653053d10a23 100644 --- a/packages/vue-cli-plugin-uni/lib/commands/custom.js +++ b/packages/vue-cli-plugin-uni/lib/commands/custom.js @@ -30,9 +30,11 @@ module.exports = function custom (argv) { service.run(command, { watch: process.env.NODE_ENV === 'development', minimize: process.env.UNI_MINIMIZE === 'true', - clean: false + clean: false, + subpackage: argv.subpackage, + plugin: argv.plugin }).catch(err => { console.error(err) process.exit(1) - }) + }) }