Browse Source

移除runjs

wangggziwen 10 tháng trước cách đây
mục cha
commit
034102b4ac
2 tập tin đã thay đổi với 0 bổ sung5 xóa
  1. 0 4
      ruoyi-ui/build/index.js
  2. 0 1
      ruoyi-ui/package.json

+ 0 - 4
ruoyi-ui/build/index.js

@@ -1,4 +1,3 @@
-// const { run } = require('runjs')
 const chalk = require('chalk')
 const config = require('../vue.config.js')
 const rawArgv = process.argv.slice(2)
@@ -7,8 +6,6 @@ const args = rawArgv.join(' ')
 if (process.env.npm_config_preview || rawArgv.includes('--preview')) {
   const report = rawArgv.includes('--report')
 
-  // run(`vue-cli-service build ${args}`)
-
   const port = 9526
   const publicPath = config.publicPath
 
@@ -31,5 +28,4 @@ if (process.env.npm_config_preview || rawArgv.includes('--preview')) {
 
   })
 } else {
-  // run(`vue-cli-service build ${args}`)
 }

+ 0 - 1
ruoyi-ui/package.json

@@ -72,7 +72,6 @@
     "eslint": "7.15.0",
     "eslint-plugin-vue": "7.2.0",
     "lint-staged": "10.5.3",
-//    "runjs": "4.4.2",
     "sass": "1.32.13",
     "sass-loader": "10.1.1",
     "script-ext-html-webpack-plugin": "2.1.5",