mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-07-04 11:03:29 +08:00
chore: deploy site in netlify.app (#12)
This commit is contained in:
13
scripts/site.js
Normal file
13
scripts/site.js
Normal file
@ -0,0 +1,13 @@
|
||||
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`);
|
||||
});
|
Reference in New Issue
Block a user