JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 551
  • Score
    100M100P100Q116690F
  • License MIT

Union collections of es modules mappings for pkgs without or with incorrect `module` field

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

npm npm bundle size npm bundle size

David Peer David David Dev

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.

License

MIT © JounQin@1stG.me