-
-
Notifications
You must be signed in to change notification settings - Fork 104
Building idb library
MxtOUT edited this page Jan 3, 2020
·
1 revision
- Install Rollup
- Download the appropriate source code from https://github.com/jakearchibald/idb/releases
- Extract the archive and navigate to the source root
- Replace the contents of
rollup.config.jswith
const iffeIttr = {
input: './with-async-ittr.js',
output: {
file: 'build/iife/with-async-ittr.js',
format: 'iife',
name: 'idb'
},
};
export default [
iffeIttr,
];- Execute
rollup -cin the console - The built library can be found in
build/iife/