Example IE11 Starter Project with SCSS (Preprocess)
Technologies used:
- Rollup
- Babel
- Core-js
- SCSS via Svelte Preprocess. (You can see what other preprocessing is supported)
- Svelte SPA Router
Check the final rollup config of this.
Adapted from Svelte Example Museums. Updates from the original:
- Updated Rollup and dependencies to later major version.
- Added stronger support for core-js polyfills, resolving potential gotchas for devs new to all this.
- Using SCSS with PostCSS (autoprefixer) to author styles. Emotion did not work. Also, not sure if the eventual implementation by Svelte would work, since it seemed like the community was gravitating toward an implementation based on CSS Variables. TODO: see if using
postcss-preset-env
would help bring those modern CSS features.