0.5.0-3 • Published 7 years ago

gnoll-sass v0.5.0-3

Weekly downloads
1
License
Unlicense
Repository
-
Last release
7 years ago

gnoll-sass

Adds support for CSS and SCSS for Gnoll.

Install

npm i gnoll-sass

Usage

You need to create webpack.config.js file in the your project and add extend base config with scss plugin:

//webpack.config.js
const merge = require('webpack-merge')
const baseConfig = require('gnoll/config/webpack')
const sass = require('gnoll-sass')

module.exports = merge(baseConfig, sass({ cssModules: true }))

Configuration

CSS modules

You can disable or enable CSS-modules with option cssModules.

Postcss

Postcss config includes following plugins:

If you want to change config, you can create postcss.config.js file in the your project and extend the default config:

// postcss.config.js
const baseConfig = require('gnoll-sass/config/postcss')

module.exports = {
    ...baseConfig,
    plugins: [
        ...baseConfig.plugins,
        'some-plugin'
    ]
}

License

Public domain, see the LICENCE file.

0.5.0-3

7 years ago

0.5.0-2

7 years ago

0.5.0-1

7 years ago

0.5.0-0

7 years ago

0.4.9-0.5.0-0.0

7 years ago

0.4.8

7 years ago

0.4.7

7 years ago

0.4.4

7 years ago

0.4.2

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.2.0-2

7 years ago

0.2.0-1

7 years ago

0.2.0-0

7 years ago

0.1.12

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago