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

support generate separated source map file? #116

Open
txchen opened this issue Feb 6, 2015 · 2 comments
Open

support generate separated source map file? #116

txchen opened this issue Feb 6, 2015 · 2 comments

Comments

@txchen
Copy link

txchen commented Feb 6, 2015

Now sourceMap is generated in the same output.css, base64 encoded.
Would be better if myth support generating the map file in another file. For example:

//# sourceMappingURL=main.css.map

In that case, output.css would be smaller, and map will only be downloaded when debugger is open.

@ianstormtaylor
Copy link
Contributor

Looks like Rework supports returning an object, which could be used to created a Rework/Myth plugin that exports the sourcemap to a file instead of inlining it.

@kevva
Copy link

kevva commented Feb 24, 2015

@ianstormtaylor, the generated sourcemap object is missing the file property and the files in sources are incorrect as far as I can see.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants