rollup-plugin-tslib-resolve-id

0.0.0 • Public • Published

rollup-plugin-tslib-resolve-id

Fixes 'tslib.js' is imported as an external by tslib.js?commonjs-proxy, but is already an existing non-external module id. error when bundling using commonjs plugin.

Getting started

yarn add rollup-plugin-tslib-resolve-id --dev

Add the plugin to your rollup configuration:

import tslibResolveId from 'rollup-plugin-tslib-resolve-id';
 
export default {
    entry: 'src/index.js',
    plugins: [ 
        tslibResolveId(),
        // other plugins
    ],
};

Readme

Keywords

Package Sidebar

Install

npm i rollup-plugin-tslib-resolve-id

Weekly Downloads

8

Version

0.0.0

License

MIT

Unpacked Size

2.69 kB

Total Files

6

Last publish

Collaborators

  • p0lip