Setup library module to umd
This commit is contained in:
parent
df0b688903
commit
59b62ad65f
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue