es.shim/build.js

16 lines
243 B
JavaScript
Raw Normal View History

2022-01-27 15:16:07 +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.mjs'],
outfile: 'dist/index.js',
minify: true,
bundle: true,
2023-06-20 18:50:57 +08:00
target: 'es6'
2022-01-27 15:16:07 +08:00
})