Closed
Description
Version
4.4.4
Reproduction link
https://github.com/dtcz/vue-cli-eslint-bug-report
Environment info
Environment Info:
System:
OS: Windows 7 6.1.7601
CPU: (2) x64 Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz
Binaries:
Node: 10.15.1 - C:\ThsSoftware\nodejs\node.EXE
Yarn: 1.22.4 - ~\AppData\Roaming\npm\yarn.CMD
npm: 6.4.1 - C:\ThsSoftware\nodejs\npm.CMD
npmPackages:
@vue/babel-helper-vue-jsx-merge-props: 1.0.0
@vue/babel-plugin-transform-vue-jsx: 1.1.2
@vue/babel-preset-app: 4.4.4
@vue/babel-preset-jsx: 1.1.2
@vue/babel-sugar-functional-vue: 1.1.2
@vue/babel-sugar-inject-h: 1.1.2
@vue/babel-sugar-v-model: 1.1.2
@vue/babel-sugar-v-on: 1.1.2
@vue/cli-overlay: 4.4.4
@vue/cli-plugin-babel: ~4.4.0 => 4.4.4
@vue/cli-plugin-eslint: ~4.4.0 => 4.4.4
@vue/cli-plugin-router: 4.4.4
@vue/cli-plugin-typescript: ~4.4.0 => 4.4.4
@vue/cli-plugin-vuex: 4.4.4
@vue/cli-service: ~4.4.0 => 4.4.4
@vue/cli-shared-utils: 4.4.4
@vue/component-compiler-utils: 3.1.2
@vue/eslint-config-standard: ^5.1.2 => 5.1.2
@vue/eslint-config-typescript: ^5.0.2 => 5.0.2
@vue/preload-webpack-plugin: 1.1.1
@vue/web-component-wrapper: 1.2.0
eslint-plugin-vue: ^6.2.2 => 6.2.2
typescript: ~3.9.3 => 3.9.5
vue: ^2.6.11 => 2.6.11
vue-class-component: ^7.2.3 => 7.2.3
vue-eslint-parser: 7.1.0
vue-hot-reload-api: 2.3.4
vue-loader: 15.9.2
vue-property-decorator: ^8.4.2 => 8.5.0
vue-style-loader: 4.1.2
vue-template-compiler: ^2.6.11 => 2.6.11
vue-template-es2015-compiler: 1.9.1
npmGlobalPackages:
@vue/cli: Not Found
Steps to reproduce
git clone https://github.com/dtcz/vue-cli-eslint-bug-report.git
cd vue-cli-eslint-bug-report
npm install
npm run build:2
What is expected?
promise.finally is packed
What is actually happening?
can't find promise.finally in report.html
in this file
vue-cli/packages/@vue/cli-service/webpack.config.js
Lines 1 to 12 in a41cac2
at line 5 insert following debug
console.log(!service)
will see true
which cause program repeat new Service()
Metadata
Metadata
Assignees
Labels
No labels