1.0.5 • Published 4 years ago

@newhighsco/next-plugin-css-options v1.0.5

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

next-plugin-css-options NPM version

Next.js plugin for overriding css-loader options

Installation

Install Next.js and @newhighsco/next-plugin-css-options:

npm install --save next @newhighsco/next-plugin-css-options

Usage

Create a next.config.js in your project:

// next.config.js
const withCssOptions = require('@newhighsco/next-plugin-css-options')
module.exports = withCssOptions({
  cssOptions: {
    /* css-loader config options here */
  },
  cssModulesOptions: {
    /* config options for CSS Modules here */
  }
})

Options

See options supported by css-loader

CHANGELOG

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago