Commit 0d2ae831 authored by 尚斌杰's avatar 尚斌杰

删除多余代码

parent c36db4aa
...@@ -38,9 +38,6 @@ const modifyConfig = (config, fn) => { ...@@ -38,9 +38,6 @@ const modifyConfig = (config, fn) => {
} }
} }
const _packageJson = fs.readFileSync(`${process.cwd()}/package.json`)
const { commonPath } = JSON.parse(_packageJson)
module.exports = (api, options) => { module.exports = (api, options) => {
api.registerCommand('build', { api.registerCommand('build', {
description: 'build for production', description: 'build for production',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment