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
I confirm that this is an issue rather than a question.
Bug report
Steps to reproduce
Use the most primitive Vuepress project, as instructed in guide.
What is expected?
Webpack-dev-server should work with --production flag.
What is actually happening?
Running the vuepress dev ./src command with --production flag fails to start dev-server.
Other relevant information
Running the vuepress dev ./src command doesn't show errors (which is another issue). But there is a cross before the "Client" webpack task. I've debugged and figured out that it's due to webpack output configuration. Following code helps me to bypass this bug:
Bug report
Steps to reproduce
Use the most primitive Vuepress project, as instructed in guide.
What is expected?
Webpack-dev-server should work with --production flag.
What is actually happening?
Running the
vuepress dev ./src
command with--production
flag fails to start dev-server.Other relevant information
Running the
vuepress dev ./src
command doesn't show errors (which is another issue). But there is a cross before the "Client" webpack task. I've debugged and figured out that it's due to webpack output configuration. Following code helps me to bypass this bug:config.output.filename(isProd() ? 'assets/js/[name].[hash:8].js' : 'assets/js/[name].js');
My VuePress version is lower and euqal than
1.0.0-alpha.47
:My VuePress version is higher than
1.0.0-alpha.47
, the following is the output ofnpx vuepress info
in my VuePress project:The text was updated successfully, but these errors were encountered: