After upgrading from rollup 1.11.3 to 1.12.0 it looks like rollup no longer parses SCSS files correctly:
> rollup -c build/sass.js
src/sass/index.js → stdout...
[!] Error: Unexpected token (Note that you need plugins to import files that are not JavaScript)
src/sass/normalize.scss (14:5)
12: */
13:
14: html {
I'm using the typical method of including sass files with JS import:
After upgrading from rollup 1.11.3 to 1.12.0 it looks like rollup no longer parses SCSS files correctly:
I'm using the typical method of including sass files with JS
import
:index.js
:I dug into this a little, but https://github.com/rollup/rollup/releases/tag/v1.12.0 shows as "no breaking changes", so it's no obvious to someone who isn't familiar with rollup's plugin internals.