Package Exports
- @pkgr/es-modules
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@pkgr/es-modules) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@pkgr/es-modules
Union collections of es modules mappings for pkgs without or with incorrect
module
field.
TOC
Install
# yarn
yarn add -D @pkgr/es-modules
# npm
npm i -D @pkgr/es-modules
Usage
// rollup
import { entries } from '@pkgr/es-modules'
import alias from 'rollup-plugin-alias'
export default {
plugins: [
alias({
entries,
}),
],
}
// webpack
import { alias } from '@pkgr/es-modules'
export default {
resolve: {
alias,
},
}
Changelog
Detailed changes for each release are documented in CHANGELOG.md.