Skip to content

Commit

Permalink
fix: embed scss sources in the source map (#1442)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
oliverlaz authored Jul 15, 2024
1 parent 5142201 commit 52e89ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/styling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 52e89ff

Please sign in to comment.