@mpxjs/cli 3.3.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/create.js +1 -1
- package/package.json +1 -1
package/lib/create.js
CHANGED
|
@@ -14,7 +14,6 @@ const loadRemotePreset = require('@vue/cli/lib/util/loadRemotePreset')
|
|
|
14
14
|
const loadLocalPreset = require('@vue/cli/lib/util/loadLocalPreset')
|
|
15
15
|
const { getPromptModules } = require('@vue/cli/lib/util/createTools')
|
|
16
16
|
const { clearConsole } = require('@vue/cli/lib/util/clearConsole')
|
|
17
|
-
const { linkBin } = require('@vue/cli/lib/util/linkBin')
|
|
18
17
|
const merge = require('lodash.merge')
|
|
19
18
|
const prompts = require('./prompts')
|
|
20
19
|
const builtInPreset = require('./preset')
|
|
@@ -174,6 +173,7 @@ async function create (projectName, options, preset = null) {
|
|
|
174
173
|
|
|
175
174
|
if (process.env.VUE_CLI_TEST || process.env.VUE_CLI_DEBUG) {
|
|
176
175
|
// 单测下,link bin文件到源码
|
|
176
|
+
const { linkBin } = require('@vue/cli/lib/util/linkBin')
|
|
177
177
|
creator.on('creation', ({ event }) => {
|
|
178
178
|
if (event === 'plugins-install') {
|
|
179
179
|
linkBin(
|
package/package.json
CHANGED