question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

--embed-source-map flag doesn't work with many-to-many mode

See original GitHub issue

I want to embed source map files to source files but I keep getting this error:

$ sass -–embed-source-map dir-1s:dest dir-2:dest
Positional and ":" arguments may not both be used.

# ... sass help note

I tried to move the flag to behind of the inputs but the result didn’t change. This is a bug right?

Here is my computer spec:

  • Windows 10
  • Sass-dart 1.42.1 (installed via choco)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
stofcommented, Sep 28, 2021
1reaction
stofcommented, Sep 28, 2021

(I think I copied the whole -–embed-source-map from the doc site to my editor so I miss it. Sb’ll probably make the same mistakes as well)

this looks weird (unless you editor changed the dash when pasting it), as the doc site does not seem to use U+2013 EN DASH

Read more comments on GitHub >

github_iconTop Results From Across the Web

CLI ignores --no-source-map flag in many-to-many mode #1216
I'm using the CLI in many-to-many mode with --no-source-map flag. However, source maps code is still embedded at the end of each generated ......
Read more >
Dart Sass Command-Line Interface
This flag tells Sass to parse the input file as the indented syntax. If it's used in many-to-many mode, all input files are...
Read more >
API - esbuild
This API call is used by the command-line interface if there is at least one input file provided or the --bundle flag is...
Read more >
Source maps in Node.js. Supporting the many flavors of…
Source maps are embedded in the generated source using a special comment. These comments may contain the entire source map, using a Data...
Read more >
Devtool - webpack
devtool performance production quality (none) build: fastest rebuild: fastest yes bundle eval build: fast rebuild: fastest no generated eval‑cheap‑source‑map build: ok rebuild: fast no transformed
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found