babel-plugin-replace-import-extensions
v1.0.0 babel plugin import extensions
A babel plugin to replace import extensions
How to use
add blow to babelrc file
module.exports = {
plugins: [
['replace-import-extensions', {
'.(js|jsx|ts|tsx)$': ''
// key is a string for match
// value is a string to replace which matched
}]
]
}