0.1.1 • Published 7 months ago

@rambler-tech/razzle-css v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
7 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
  }
}