blob: fde7e78a8280fa6a71fd0ba3550a6a144897dcd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
const {rollup} = require('rollup');
const nodeResolve = require('rollup-plugin-node-resolve');
rollup({
input: 'build-es/index.js',
plugins: [ nodeResolve() ]
})
.then(( bundle ) => {
return bundle.write({
format: 'esm',
name: 'async',
file: 'build/dist/async.mjs'
});
})
.catch((err) => { throw err; });
|