0.0.0 • Published 4 years ago

rollup-plugin-tslib-resolve-id v0.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

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
    ],
};