mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2024-11-10 17:49:16 +08:00
14 lines
372 B
JavaScript
14 lines
372 B
JavaScript
const webpack = require('webpack');
|
|
const webpackConfig = require('./webpack.base.conf');
|
|
|
|
webpack(Object.assign(webpackConfig, { mode: 'production', devtool: false }), (err, stats) => {
|
|
if (err) throw err;
|
|
process.stdout.write(`${stats.toString({
|
|
colors: true,
|
|
modules: false,
|
|
children: false,
|
|
chunks: false,
|
|
chunkModules: false,
|
|
})}\n\n`);
|
|
});
|