Skip to content
Permalink
Browse files
Add details to with-scoped-external-css (#3055)
  • Loading branch information
guidiego authored and timneutkens committed Oct 8, 2017
1 parent 7c90863 commit ebfa08fdff12f5de546ec8b303980d206418c672
Showing 1 changed file with 1 addition and 2 deletions.
@@ -12,8 +12,7 @@ yarn start
#### Supported Langs
The plugin supports the `less`, `scss` and `css` file extensions. It is possible to add support for another pre-processor by creating a function to compile the code. In the example we use `sass` as our css pre-processor

To edit the types you need to go to `.babelrc`

You need to edit the `.babelrc` and sometimes the `pre-processor.js` to work with another languages, if you want to use SCSS the solution and explanation (fit with other css-pre-processors) are in this issue <3 [#3053](https://github.com/zeit/next.js/issues/3053)

#### Attention Points
- Next.js doesn't have support for watching `*.css files. So you will have to edit a Javascript file to re-compile the css. In the future this will be fixed by [#823](https://github.com/zeit/next.js/pull/823).

0 comments on commit ebfa08f

Please sign in to comment.