Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

[webpack-config-terra] Upgrade to sass (dart-sass) #685

Merged
merged 10 commits into from
Jul 26, 2021
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ import { Badge } from '@cerner/webpack-config-terra/package.json?dev-site-packag

# webpack-config-terra Upgrade Guide

## Changes from @cerner/webpack-config-terra 1.0.0 to @cerner/webpack-config-terra 2.0.0
pranav300 marked this conversation as resolved.
Show resolved Hide resolved

#### Removed node-sass

We have removed `node-sass` from dependencies and switched to `sass (dart-sass)`.

#### Update WDIO snapshots

The previously used `node-sass` had a precision of 5, whereas `sass` has an unadjustable precision of 10. Hence it is required for all the users upgrading to @cerner/webpack-config-terra 2.0.0 to update their WDIO snapshots.

## Changes from terra-toolkit 6.x to @cerner/webpack-config-terra 1.0.0

We have broken terra-toolkit up into several component parts de-couple major version upgrades to unrelated components. Upgrading WDIO shouldn't affect our webpack version and vice versa.
Expand Down
3 changes: 3 additions & 0 deletions packages/webpack-config-terra/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

* Changed
* Upgraded from `node-sass` to `sass (dart-sass)`

## 1.3.1 - (January 27, 2021)

* Changed
Expand Down
2 changes: 1 addition & 1 deletion packages/webpack-config-terra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
"glob": "^7.1.1",
"memory-fs": "^0.4.1",
"mini-css-extract-plugin": "^1.3.1",
"node-sass": "^5.0.0",
"postcss-assets-webpack-plugin": "^4.0.0",
"postcss-custom-properties": "^10.0.0",
pranav300 marked this conversation as resolved.
Show resolved Hide resolved
"postcss-loader": "^4.1.0",
"raw-loader": "^4.0.2",
"sass": "^1.35.2",
"sass-loader": "^10.1.0",
"terser-webpack-plugin": "^4.2.1",
"webpack-merge": "^5.4.0"
Expand Down