Skip to content

Commit

Permalink
Enable scss/sass support (#10571)
Browse files Browse the repository at this point in the history
Co-authored-by: Joe Haddad <timer150@gmail.com>
  • Loading branch information
timneutkens and Timer committed Feb 18, 2020
1 parent 3a1aa55 commit 743bf5d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion packages/next/next-server/server/config.ts
Expand Up @@ -42,7 +42,7 @@ const defaultConfig: { [key: string]: any } = {
(os.cpus() || { length: 1 }).length) - 1
),
css: true,
scss: false,
scss: true,
documentMiddleware: false,
granularChunks: true,
modern: false,
Expand Down
1 change: 0 additions & 1 deletion test/integration/scss-fixtures/next.config.js
Expand Up @@ -3,7 +3,6 @@ module.exports = {
// Make sure entries are not getting disposed.
maxInactiveAge: 1000 * 60 * 60,
},
experimental: { scss: true },
webpack(cfg) {
cfg.devtool = 'source-map'
return cfg
Expand Down
1 change: 0 additions & 1 deletion test/integration/typescript/next.config.js
Expand Up @@ -3,5 +3,4 @@ module.exports = {
// Make sure entries are not getting disposed.
maxInactiveAge: 1000 * 60 * 60,
},
experimental: { scss: true },
}

0 comments on commit 743bf5d

Please sign in to comment.