@raygesualdo/gatsby-plugin-babel-styled-components

1.0.1 • Public • Published

gatsby-plugin-babel-styled-components

npm (scoped) semantic-release styled with prettier

A Gatsby plugin to add the styled-components babel plugin.

Install

$ npm install --save @raygesualdo/gatsby-plugin-babel-styled-components

How to Use

Add the plugin to your gatsby-config.js file.

plugins: ['@raygesualdo/gatsby-plugin-babel-styled-components']

This plugin automatically enables the ssr feature. All other features can be configured via this plugin's config object.

plugins: [
  {
    resolve: '@raygesualdo/gatsby-plugin-babel-styled-components',
    options: {
      ssr: true, // override default
      displayName: false,
      preprocess: true,
      minify: false,
      transpileTemplateLiterals: false,
    },
  },
]

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    16
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    16
  • 1.0.0
    0

Package Sidebar

Install

npm i @raygesualdo/gatsby-plugin-babel-styled-components

Weekly Downloads

16

Version

1.0.1

License

MIT

Unpacked Size

4.2 kB

Total Files

7

Last publish

Collaborators

  • raygesualdo