@pkgr/es-modules
TypeScript icon, indicating that this package has built-in type declarations

0.6.3 • Public • Published

@pkgr/es-modules

npm npm bundle size npm bundle size Renovate enabled

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

Package Sidebar

Install

npm i @pkgr/es-modules

Weekly Downloads

341

Version

0.6.3

License

MIT

Unpacked Size

5.82 kB

Total Files

6

Last publish

Collaborators

  • jounqin
  • i1stg