@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,
    },
  },
]

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

    Package Sidebar

    Install

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

    Weekly Downloads

    11

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    4.2 kB

    Total Files

    7

    Last publish

    Collaborators

    • raygesualdo