Setup library module to umd

This commit is contained in:
Damjan 2021-01-08 15:40:43 +01:00
parent df0b688903
commit 59b62ad65f
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "chunk-store-idb",
"version": "0.0.4",
"version": "0.0.5",
"description": "IndexedDB chunk store that is abstract-chunk-store compatible",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -6,7 +6,7 @@
// this enables stricter inference for data properties on `this`
"strict": false,
// if using webpack 2+ or rollup, to leverage tree shaking:
"module": "commonjs",
"module": "umd",
"moduleResolution": "node",
"outDir": "dist",
"declaration": true