Gatsby plugin to add support for using `babel-plugin-import`
npm install gatsby-plugin-import> Gatsby plugin to add support for using babel-plugin-import.
> (Only support Gatsby version >= 2.0.0)






Use npm:
```
npm i babel-plugin-import -D
npm i gatsby-plugin-import -S
Or use yarn:
``
yarn add babel-plugin-import -D
yarn add gatsby-plugin-import
in gatsby-config.js
``
module.exports = {
// ...
plugins: [
// ...
{
resolve: 'gatsby-plugin-import',
options: {
libraryName: "antd",
style: true, // or 'css'
}
},
],
}
More usage see there
DefinitelyTyped only works because of contributions by users like you!
Follow the Angular git commit message specification
But, you can ignore the scope`