Skip to content

mdluo/babel-plugin-directory-named-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

babel-plugin-directory-named-module

NPM

Example

Babel plugin to resolve

import module from 'path/to/module'

into

import module from 'path/to/module/module.js'

Usage

npm install babel-plugin-directory-named-module --save-dev

Edit .babelrc

{
  "plugins": [
    "directory-named-module"
  ]
}

About

Another babel plugin to save your time and keyboard :)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published