一覧へ戻る
P0lip/rollup-plugin-tslib-resolve-id(新しいタブで開きます)
主要言語: JavaScript
- star 数
- 4
- watcher 数
- 1
- fork 数
- 0
- issue 数
- 0
- 最終更新
- 2021/08/18
主要言語: JavaScript
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.
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 ], };