--modern flag does't work when config prefetch's fileBlackList in chainWebpack. #2767
Labels
needs team repro
We acknowledged your report and will soon try to reproduce it
scope: cli-service build
Version
3.0.5
Reproduction link
https://github.com/heguichuan/vuecli3-issue
Node and OS info
Node 8.11.3 / Windows 7
Steps to reproduce
npm install
npm run modern
// i init project with vue-cli3 , just add vue.config.js with something in it.
What is expected?
build successfully.
What is actually happening?
TypeError: Cannot read property 'fileBlacklist' of undefined
at config.plugin.tap.options (E:\TEST\vuecli3-issue\vue.config.js:8:45)
at Object.tap (E:\TEST\vuecli3-issue\node_modules\webpack-chain\src\Plugin.js:24:24)
at chainWebpack (E:\TEST\vuecli3-issue\vue.config.js:7:31)
……
The text was updated successfully, but these errors were encountered: