1.1.2 • Published 2 years ago

rollup-plugin-tsc-alias v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Rollup plugin: tsc-alias

Replace alias paths with relative paths after typescript compilation during rollup bundling

Installation

npm

npm install rollup-plugin-tsc-alias --save-dev

yarn

yarn add rollup-plugin-tsc-alias --dev

Example

To run tsc-alias after TS built add the following to rollup.config.js:

import tscAlias from 'rollup-plugin-tsc-alias';

export default {
  entry: './src/index.ts',
  output: {
    dest: './dist/bundle.js',
  },
  plugins: [
    tscAlias()
  ]
};

Here are all the available options:

License

MIT

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago