Closed imaegoo closed 3 years ago
https://github.com/imaegoo/twikoo/pull/91/files
Change build command from
yarn && yarn docs:build
to
yarn global add vuepress@1.8.0 && vuepress build docs
Try vuepress 2 if you want to use webpack 5 for now
@meteorlxy OK, thanks!
What if my company won't let me use a beta version? I don't understand why my other packages should affect vuepress. Shouldn't vuepress use its own version of webpack?
Bug report
Steps to reproduce
Repo: https://github.com/imaegoo/twikoo
git clone https://github.com/imaegoo/twikoo.git twikoo
cd twikoo
yarn install
yarn docs:build
What is expected?
Build successfully (it was successfully before updating Webpack).
What is actually happening?
Get an exception:
Error: Rule can only have one resource source (provided resource and test + include + exclude) in {...
Detail logs: https://github.com/imaegoo/twikoo/runs/1644442505?check_suite_focus=true
Other relevant information
I have tried Ubuntu 18.04.5, Windows 10, nodejs 12, nodejs 14, same exception.
Output of
npx vuepress info
in my VuePress project: