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

删除多余代码

parent c36db4aa
......@@ -37,9 +37,6 @@ const modifyConfig = (config, fn) => {
fn(config)
}
}
const _packageJson = fs.readFileSync(`${process.cwd()}/package.json`)
const { commonPath } = JSON.parse(_packageJson)
module.exports = (api, options) => {
api.registerCommand('build', {
......
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