Closed davidpronk closed 6 years ago
main is mapped to dist/es6-promise.js. but dist itself is not present. Only it's contents.
Can you explain this a bit more? dist/*
should be bundled in the distributed package.
@stefanpenner JSPM does not install the entire bundle but just the content of dist
because of the directories.lib configuration in the package.json
"directories": {
"lib": "lib"
},
This seems to have gone stale. I would be open to a PR making it easier to use system-js.
After installing es6-promise through JSPM,
main
is mapped todist/es6-promise.js
. butdist
itself is not present. Only it's contents. This can be solved by adding some JSPM config to the package.json. Setting jspm.directories to "lib": "dist" does the trick. I'll create a PR.