-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use with vue project create by vue-cli 3.0 #61
Comments
Same issue, I have setup like so:
However I get output like this on incremental builds:
Which gives no information about what happens in |
@cmcnicholas is that output from running on Windows? |
yep |
@cmcnicholas same problem, has the problem been solved? |
Any luck yet? really need to see the build times :) |
Alright, I made it work: in your
If you have anything in your Then add Producing following output for me:
|
@stephencookdev Maybe we can add this to Readme.md or to examples dir? Happy to contribute |
Nice one @vpiskunov - yeah a entry in the examples dir would be amazing. Happy to accept PRs for that 🙂 |
@stephencookdev actually my solution above worked but only during Seems like this could be related: Let me know what you think. |
I got my build working by using (I don't have any custom plugins) but not sure show to interpret the results
|
@vpiskunov I followed your configuration but gave an error |
Same for me, getting the
Defining |
I need apply it with vux loader but it doesn't work. if I try this like you it is ok. configureWebpack: smp.wrap({ but it does not work like this.at the same time the vim has no errors. configureWebpack: config => { |
...has anyone figured out the fix for |
If you have this error : VueJS doc (https://cli.vuejs.org/config/#configurewebpack) says that we can pass Object or Function as parameter of Try the following code on const SpeedMeasurePlugin = require("speed-measure-webpack-plugin");
const smp = new SpeedMeasurePlugin();
module.exports = {
configureWebpack: smp.wrap({})
} |
If you use const SpeedMeasurePlugin = require("speed-measure-webpack-plugin")
module.exports = {
// ...
chainWebpack: config => {
// ...
config
.plugin('speed-measure-webpack-plugin')
.use(SpeedMeasurePlugin)
.end()
}
} |
I tried configuring my chainWebpack like this but it doesn't measure a bunch of plugins. This is the output I got. SMP ⏱ SMP ⏱ Loaders |
For anyone facing the same problem, I found a comment on an issue from vue-cli's repo with a workaround and managed to get it working by following his second option. |
How to use with vue project create by vue-cli 3.0
The text was updated successfully, but these errors were encountered: