0.3.2 • Published 1 year ago

@static-styled-plugin/webpack-plugin v0.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

static-styled-plugin

A plugin that makes styled-components zero-runtime.

Installation

npm install @static-styled-plugin/webpack-plugin

Setup

// webpack.config.js
const { StaticStyledPlugin } = require('@static-styled-plugin/webpack-plugin')

module.exports = {
  plugins: [
    new StaticStyledPlugin({ themeFilePath: './src/theme.ts' }),
  ]
}

⚠️ Note: You need to setup loaders that can handle .css files, such as css-loader and style-loader, as well.

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago