From 52e89ff98f8af3c56e985a09b34e055a822a91ab Mon Sep 17 00:00:00 2001 From: Oliver Lazoroski Date: Mon, 15 Jul 2024 14:08:01 +0200 Subject: [PATCH] fix: embed scss sources in the source map (#1442) Bundles the full SCSS sources within the source map. This prevents warnings where some source map loaders fail to find the linked SCSS files when using the `@stream-io/video-react-sdk` NPM package. - https://sass-lang.com/documentation/cli/dart-sass/#embed-sources --- packages/styling/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/styling/package.json b/packages/styling/package.json index 87f1145053..9bc1d1b23c 100644 --- a/packages/styling/package.json +++ b/packages/styling/package.json @@ -6,7 +6,7 @@ "scripts": { "clean": "rimraf dist", "start": "sass --watch index.scss ./dist/css/styles.css", - "build": "sass index.scss ./dist/css/styles.css" + "build": "sass --embed-sources index.scss ./dist/css/styles.css" }, "devDependencies": { "rimraf": "^5.0.7",