-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
type: enhancementRequest to enhance an existing featureRequest to enhance an existing feature
Description
Lines 99 to 107 in 2d6f02f
if (stats.hasErrors()) { | |
stats.toJson().errors.forEach(err => { | |
console.error(err) | |
}) | |
reject(new Error(`Failed to compile with errors.`)) | |
return | |
} | |
resolve(stats.toJson({ modules: false })) | |
}) |
VuePress didn't handle webpack warnings, but if you add following lines:
if (stats.hasWarnings()) {
return reject(new Error(stats.toString()))
}
And if you run yarn build --debug
in VuePress repo, there're actually postcss-loader warnings:
Not sure if this is a vue-loader bug since I can only reproduce it in this repo. I've tried console.log this.sourceMap
in vue-loader
, seems it's always true
even if I already set webpackConfig.devtool: false
Test against latest commit: 2d6f02f
wolfjagger
Metadata
Metadata
Assignees
Labels
type: enhancementRequest to enhance an existing featureRequest to enhance an existing feature