Describe the bug
the following error would rise when yarn build if externals being removed:
ERROR Failed to compile with 1 error17:23:27
error in ./node_modules/react-screenshots/dist/index.html
Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> <!doctype html><html><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><link href="css/app.c638c105275b2bc6ebc6.css" rel="stylesheet"></head><body><noscript><strong>很抱歉,没有JavaScript,网站不能正常工作。请启用JavaScript。</strong></noscript><div id="app"></div><script src="js/app.b2ecc57be74465245baf.js"></script></body></html>
@ ./node_modules/electron-screenshots/lib/screenshots.js 348:29-81
@ ./src/windowManager.ts
@ ./src/auth/uacAuth.ts
@ ./node_modules/cache-loader/dist/cjs.js??ref--15-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--15-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=ts&
@ ./src/App.vue?vue&type=script&lang=ts&
@ ./src/App.vue
@ ./src/main.ts
@ multi ./src/main.ts
ERROR Vue CLI build failed. Please resolve any issues with your build and try again.
Describe the bug the following error would rise when
yarn build
ifexternals
being removed:related configurations:
To Reproduce Steps to reproduce the behavior:
Expected behavior
externals
can be removed whenexperimentalNativeDepCheck
is enabledScreenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
terminal output from running
vue info
: