You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
504 B
25 lines
504 B
5 years ago
|
// tslint:disable-next-line: no-implicit-dependencies
|
||
|
import webpack from 'webpack';
|
||
|
// tslint:disable-next-line: no-implicit-dependencies
|
||
|
|
||
|
import batch from './webpack/webpack.config';
|
||
|
|
||
|
webpack(batch).run((err, stats) => {
|
||
|
if (err) {
|
||
|
console.error(err);
|
||
|
return;
|
||
|
}
|
||
|
console.log(
|
||
|
stats.toString({
|
||
|
all: false,
|
||
|
modules: false,
|
||
|
errors: true,
|
||
|
warnings: false,
|
||
|
moduleTrace: true,
|
||
|
errorDetails: true,
|
||
|
chunks: true,
|
||
|
colors: true,
|
||
|
}),
|
||
|
);
|
||
|
});
|