babel-plugin-webpack-alias-resolve
v1.0.1
Published
a babel plugin can resolve the webpack alias when you use 'require' or 'import' with babel. Besides, it supports that you can 'path.resolve()' or 'require.resolve()' to get the real path transformed according to webpack alias.
Downloads
6
Maintainers
Readme
babel-plugin-webpack-alias-resolve
This repository borrowed the ideas of babel-plugin-webpack-alias
.
Because I can't resolve the real path of alias by use function except require()
, so I modified the source code and make it fit with function resolve
.