expose module in package.json

allows rollup and webpack to load the lib as a module by default
This commit is contained in:
Sebastian Schmidt 2017-06-27 20:27:40 +10:00 committed by GitHub
parent 2659494a80
commit c65b687183

View File

@ -3,6 +3,7 @@
"version": "0.6.5", "version": "0.6.5",
"description": "A lightweight graphical user interface for changing variables in JavaScript.", "description": "A lightweight graphical user interface for changing variables in JavaScript.",
"main": "index.js", "main": "index.js",
"module": "index.js",
"directories": { "directories": {
"test": "tests" "test": "tests"
}, },