rollup-plugin-absolute-module-fix
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Rollup Plugin Absolute Module Fix

Regarding this issue I wrote this rollup plugin to fix it temporarily. Looking forward to see when Angular team will fix this.
Only will replace absolute module path from module/index to module and ignore relative paths.

Installation

You can install from npm repository

$ npm install --save-dev rollup-plugin-absolute-module-fix

Usage

import { rollup } from 'rollup';
import absModuleFix from 'rollup-plugin-absolute-module-fix';
 
rollup({
  entry: 'main.js',
  plugins: [
    absModuleFix()
  ]
}).then(...)

License

MIT

Package Sidebar

Install

npm i rollup-plugin-absolute-module-fix

Weekly Downloads

28

Version

0.0.2

License

MIT

Last publish

Collaborators

  • aminpaks