0.2.0 • Published 11 months ago

@rambler-tech/razzle-css v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

CSS Plugin

Enhanced inject CSS into the razzle bundle

Install

npm install -D @rambler-tech/razzle-css

or

yarn add -D @rambler-tech/razzle-css

Usage

Add the plugin to razzle.config.js

const CssPlugin = require('@rambler-tech/razzle-css')

module.exports = {
  plugins: [
    CssPlugin()
  ],
  modifyWebpackConfig({webpackConfig}) {
    // ...
    return webpackConfig
  }
}