rollup-plugin-strict-alias1.0.0 • Public • Published
Define aliases when bundling packages with Rollup. This is like
rollup-plugin-alias with strict aliases matched with
=== instead of
startWith, like Webpack.
When we write tests, we may want an easier way to access the local library we are testing or mocking libraries. We may also define aliases to counteract "require hell" and get rid of all those
../../../ imports we may have in the process.
For Webpack users: This is a plugin to have a
resolve.alias functionality in Rollup.
npm install rollup-plugin-strict-alias
resolve array with file extensions can be provided.
If present local aliases beginning with
./ will be resolved to existing files:
If not given local aliases will be resolved with a
LICENSE for more information