fetch/build.js

16 lines
247 B
JavaScript
Raw Normal View History

2021-08-09 17:00:02 +08:00
/**
* {build}
* @author yutent<yutent.io@gmail.com>
* @date 2021/08/09 11:59:41
*/
const Es = require('esbuild')
Es.build({
entryPoints: ['src/index.js', 'src/next.js'],
bundle: true,
minify: true,
format: 'esm',
outdir: 'dist'
})