rollup-plugin-tsc-alias
v1.1.4
Published
Replace alias paths with relative paths after typescript compilation during rollup bundling (tsc-alias)
Maintainers
Readme
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({
// OPTIONS
})
]
};All the available options:
Author
This project is maintained by Valentin Iljaž.
License
MIT
See also
If you find this Rollup plugin useful, you might also be interested in my other project, Webacus.
