Setup library module to umd
This commit is contained in:
parent
df0b688903
commit
59b62ad65f
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "chunk-store-idb",
|
"name": "chunk-store-idb",
|
||||||
"version": "0.0.4",
|
"version": "0.0.5",
|
||||||
"description": "IndexedDB chunk store that is abstract-chunk-store compatible",
|
"description": "IndexedDB chunk store that is abstract-chunk-store compatible",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
// this enables stricter inference for data properties on `this`
|
// this enables stricter inference for data properties on `this`
|
||||||
"strict": false,
|
"strict": false,
|
||||||
// if using webpack 2+ or rollup, to leverage tree shaking:
|
// if using webpack 2+ or rollup, to leverage tree shaking:
|
||||||
"module": "commonjs",
|
"module": "umd",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
"declaration": true
|
"declaration": true
|
||||||
|
|
Loading…
Reference in New Issue