blob: 452a1f1fa055c4588deb6c5733670d8ce0da82be (
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: 'umd',
name: 'async',
file: 'build/dist/async.js'
});
})
.catch((err) => { throw err; });
|