You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use the following configuration it won't compile. Core-js@3 is already installed in the package I depend on, but it still prompts me that I cannot find the corresponding core-js module. I tried to change core-js to a top-level dependency, but some modules were not found. I found out that this was caused by the core-js version. I guess it is because vuepress has some problems when parsing the module.
Another point is that it is possible to optimize the logs of the vuepress build docs. I found that if there is no module found, all the logs of webpack will be output.
Was having the same issue. Have core-js@3 in the main package.json so Vuepress is unable to find the differently named modules from core-js@2.
My workaround is tweaking the script that builds Vuepress to first remove core-js and re-add it afterwards. It's a bit of a mess, but I haven't found a better solution to use Vuepress in a project that relies on core-js@3.
Bug report
Steps to reproduce
If I use the following configuration it won't compile.
Core-js@3
is already installed in the package I depend on, but it still prompts me that I cannot find the correspondingcore-js
module. I tried to changecore-js
to a top-level dependency, but some modules were not found. I found out that this was caused by thecore-js
version. I guess it is becausevuepress
has some problems when parsing the module.Another point is that it is possible to optimize the logs of the
vuepress build docs
. I found that if there is no module found, all the logs ofwebpack
will be output.I changed the version of core-js to 2 to compile successfully. Is this a vuepress issue? I use
vuepress build docs
Other relevant information
https://github.com/zloirock/core-js/blob/master/docs/2019-03-19-core-js-3-babel-and-a-look-into-the-future.md
npx vuepress info
in my VuePress project:The text was updated successfully, but these errors were encountered: