Update package definitions in package.json

pull/1/head
Nikita Karamov 2020-03-25 22:10:07 +01:00
parent f907a48bd5
commit 2aa431ff95
No known key found for this signature in database
GPG Key ID: E40DFE6E993540FF
1 changed files with 7 additions and 1 deletions

View File

@ -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",