Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 601 Bytes

README.md

File metadata and controls

29 lines (25 loc) · 601 Bytes

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"
                }]
            }
        ]
    ]
}