1.1.2 • Published 7 years ago

tronic-plugin-sass v1.1.2

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

tronic-plugin-sass

Sass plugin for tronic with predefined defaults

Getting started

Install with npm:

npm install --save-dev tronic-plugin-sass

Setup

Create a tronic.config.js file at the root of your project with the following content:

module.exports = {
  plugins: [
    'tronic-plugin-sass'
  ]
}

Configuration

You may configure the plugin using any of the options available for style-loader, css-loader, resolve-url-loader, postcss-loader and sass-loader. The options you specify will be merged with the defaults, so there's no need to redefine existing properties.

You can do so as below:

module.exports = {
  plugins: [
    {
      name: 'tronic-plugin-sass',
      options: {
        styleLoader: {
          sourceMap: false
        },
        cssLoader: {
          sourceMap: false
        },
        resolveUrlLoader: {
          sourceMap: false
        },
        postcssLoader: {
          sourceMap: false
        },
        sassLoader: {
          sourceMap: false
        }
      }
    }
  ]
}
1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago