Update package definitions in package.json
parent
f907a48bd5
commit
2aa431ff95
|
@ -17,7 +17,13 @@
|
||||||
"sharing",
|
"sharing",
|
||||||
"social networks"
|
"social networks"
|
||||||
],
|
],
|
||||||
"main": "./dist/shareon.js",
|
"main": "./dist/shareon.cjs",
|
||||||
|
"module": "./dist/shareon.mjs",
|
||||||
|
"exports": {
|
||||||
|
"require": "./dist/shareon.cjs",
|
||||||
|
"import": "./dist/shareon.mjs"
|
||||||
|
},
|
||||||
|
"unpkg": "./dist/shareon.min.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rollup -c ./rollup/rollup.config.prod.js",
|
"build": "rollup -c ./rollup/rollup.config.prod.js",
|
||||||
"dev": "rollup -w -c ./rollup/rollup.config.dev.js",
|
"dev": "rollup -w -c ./rollup/rollup.config.dev.js",
|
||||||
|
|
Loading…
Reference in New Issue