Guy Bedford
bddb02286f
feat: webpack inlining with configuration for v4 / v5 ( #20598 )
2021-01-13 20:59:08 -05:00
Ludovico Fischer
b89d417b37
Update to PostCSS 8. ( #17415 )
...
Co-authored-by: Tim Neutkens <timneutkens@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-10-21 12:31:07 +02:00
Ludovico Fischer
0d3671c2c2
Update to postcss-loader 4.0.2. ( #17458 )
...
Co-authored-by: Tim Neutkens <timneutkens@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-10-19 17:07:59 +02:00
JJ Kasper
ec2ffb4244
Handle css-loader file resolving change ( #17724 )
...
This is a follow-up to https://github.com/vercel/next.js/pull/16973 which adds handling for the breaking change in the latest version of css-loader that causes unresolved file references in `url` or `import` to cause the build to fail. This fixes it by adding our own resolve checking and when it fails disabling the `css-loader`'s handling of it.
Fixes: https://github.com/vercel/next.js/issues/17701
2020-10-08 18:45:39 +00:00
Joe Haddad
25cdaab297
Add Support for CSS Module Value Imports ( #16973 )
...
Fixes #10142
Fixes #11629
2020-09-09 23:29:37 +00:00
Guy Bedford
755dc40969
postcss loaders
2020-03-30 16:26:25 -04:00
Alexander Dreith
bd3662b52b
Fix preprocessor loader error ( #10235 )
...
* Run resolve-url-loader after sass-loader
* Add regression test
* Update test to match
* Revert global.ts
* Make `preProcessors` readonly
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-28 16:31:38 -05:00
Alexander Dreith
8449ebc221
[Experimental] Add built-in Sass support ( #10133 )
...
* Add built-in Sass support
* Add copy of CSS tests for SCSS
* Fix failing tests
* Fix url-loader tests
* Remove css file generated by tests
* Fix nprogress import for css file
* Fix SCSS modules (still 2 tests that need investigating)
* Update documentation for Sass support
* Fix plain CSS import test
* Fix formatting with prettier fix
* Update test output to reflect scss usage
* Revert "Fix plain CSS import test"
This reverts commit 380319d9d0c4bfb19e28c210262ccd82d19f3556.
# Conflicts:
# test/integration/scss-modules/test/index.test.js
* Update loader structure
* Resolve loaders before passing to compile function
* Remove dead filter code
* Arrange loaders in order and push to array
* Fix loader order bug
* Fix global Sass loader and make module prepocessor optional
* Adjust Sass Modules Implementation
* Fix typo
* Adjust regexps
* Use regexes
* Simplify global setup
* Adjust comments
* fix regex
* Simplify identifier file
* Update Sass Instructions
* Remove unneeded fixtures
* Adjust global tests
* Remove wrapper
* Update source maps
* Flag scss behavior
* Fix css property value
* Update fixtures with Sass vars
* Turn on Scss support
* fix HMR test
* Fix snapshots
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-22 15:26:51 -05:00
Joe Haddad
f67f99a295
Extract CSS Loaders into Separate Files ( #10210 )
2020-01-22 09:50:27 -06:00