javascript - What is the error prompt module that comes with vue-cli's webpack template?
漂亮男人
漂亮男人 2017-05-19 10:33:17
0
1
675

I also want to use this error message for my own configured webpack. How to do it?

漂亮男人
漂亮男人

reply all(1)
左手右手慢动作

http://webpack.github.io/docs...

var webpack = require("webpack");
webpack({
    // configuration
}, function(err, stats) {
        if (err) { throw new gutil.PluginError('webpack:build', err); }
        gutil.log('[webpack:build]', stats.toString({
            chunks: false, // Makes the build much quieter
            colors: true
        }));
});
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template