13 lines
218 B
JavaScript
13 lines
218 B
JavaScript
|
import Es from 'esbuild'
|
||
|
import fs from 'iofs'
|
||
|
|
||
|
Es.buildSync({
|
||
|
entryPoints: ['src/less-node/index.js'],
|
||
|
outdir: 'dist',
|
||
|
platform: 'node',
|
||
|
format: 'esm',
|
||
|
// minify: true,
|
||
|
bundle: true,
|
||
|
target: 'node12'
|
||
|
})
|