rsnext/packages
Jairo Tylera e66bcfa838
Add support for sass-loader prependData option (#12277)
This PR adds support for prepending sass code before the actual entry file.

It's common for developers to import their sass mixins and variables once on their project config so they don't need to import them on every file that requires it. Frameworks like gatsby and nuxt.js already support that handy feature.

The way it works is:

```
/// next.config.js
module.exports = {
  experimental: {
    sassOptions: {
      prependData: `
        /// Scss code that you want to be
        /// prepended to every single scss file.
      `,
    },
  },
}
```

Fixes #11617 and duplicates
2020-05-23 13:37:48 +00:00
..
create-next-app v9.4.2 2020-05-20 15:32:29 -04:00
eslint-plugin-next bug fixes for Lint routing (#13111) 2020-05-21 23:42:20 +00:00
next Add support for sass-loader prependData option (#12277) 2020-05-23 13:37:48 +00:00
next-bundle-analyzer v9.4.2 2020-05-20 15:32:29 -04:00
next-mdx v9.4.2 2020-05-20 15:32:29 -04:00
next-plugin-google-analytics v9.4.2 2020-05-20 15:32:29 -04:00
next-plugin-material-ui v9.4.2 2020-05-20 15:32:29 -04:00
next-plugin-sentry v9.4.2 2020-05-20 15:32:29 -04:00
next-plugin-storybook v9.4.2 2020-05-20 15:32:29 -04:00
next-polyfill-nomodule v9.4.2 2020-05-20 15:32:29 -04:00
react-dev-overlay v9.4.2 2020-05-20 15:32:29 -04:00
react-refresh-utils v9.4.2 2020-05-20 15:32:29 -04:00