Skip to content

jkiss/babel-plugin-inject-import

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

babel-plugin-inject-import

Babel plugin to inject some custom import statement.

Usage

Via .babel.config.json (Recommended)

.babel.config.json

{
    "plugins": [
        [
            "inject-import", 
            {
                "inject": [{
                    "name": null,
                    "path": "./style.css",
                    "file": "src/GanttReact/index.js"
                },{
                    "name": "test",
                    "path": "test",
                    "file": "src/GanttReact/index.js"
                }]
            }
        ]
    ]
}

Releases

No releases published

Packages

No packages published