1.0.0-alpha.6 • Published 2 years ago
ember-cli-styles-preprocessor v1.0.0-alpha.6
ember-cli-styles-preprocessor
Allows for one or many style preprocessors to be used for a given addon or app.
Compatibility
- Ember.js v4.0 or above
- Ember CLI v4.0 or above
- Node.js v16 or above
Installation
ember install ember-cli-styles-preprocessor
Usage
In order to preprocess styles, you must define them manually.
This can be done either in the ember-cli-build.js
file of an app as,
const preprocessors = {
scss: {
broccoliPlugin: require('broccoli-sass-source-maps')(require('sass')),
options: {
sourceMap: true,
sourceMapEmbed: true,
},
},
};
let app = new EmberApp(defaults, {
...
emberCliStylesOptions: {
preprocessors,
},
...
});
or in the index.js of an addon like
const preprocessors = {
scss: {
broccoliPlugin: require('broccoli-sass-source-maps')(require('sass')),
options: {
sourceMap: true,
sourceMapEmbed: true,
},
},
};
module.exports = {
...
options: {
...
emberCliStylesOptions: {
preprocessors,
},
...
},
...
};
Contributing
See the Contributing guide for details.
License
This project is licensed under the MIT License.
1.0.0-alpha.6
2 years ago
1.0.0-alpha.5
3 years ago
1.0.0-alpha.4
3 years ago
1.0.0-alpha.3
4 years ago
1.0.0-alpha.2
4 years ago
1.0.0-alpha.1
4 years ago
0.5.6
5 years ago
0.5.5
6 years ago
0.5.4
6 years ago
0.5.3
6 years ago
0.5.2
6 years ago
0.5.1
7 years ago
0.5.0
7 years ago
0.4.0
7 years ago
0.2.0
7 years ago
0.1.3
7 years ago
0.1.2
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago
0.0.8
8 years ago
0.0.7
8 years ago
0.0.6
8 years ago