-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External source map not getting generated with correct file name #455
Comments
What happens if you use It's very similar to what I do in the tests
and that looks to generate the expected name based on modular-css/packages/rollup/test/rollup.test.js Lines 219 to 243 in 5f1edd6
|
Changing to this format generates file correctly 👍 |
Weirdly I don't see anywhere in my code that is generating the I'd argue that the original config value being a hardcoded filename is an incorrect value to pass, but ideally it wouldn't explode things... 😥 |
Well that I can fix that one, at least! |
So that external source map references point to the right file. Gotta pass a real file to postcss or it does some funny things. Fixes #455
So that external source map references point to the right file. Gotta pass a real file to postcss or it does some funny things. Fixes #455
So that external source map references point to the right file. Gotta pass a real file to postcss or it does some funny things. Fixes #455
* fix: replace placeholders in assetFileNames So that external source map references point to the right file. Gotta pass a real file to postcss or it does some funny things. Fixes #455
Latest release should have this change afaik. Let me know if it doesn't!
…On Tue, Jul 24, 2018, 5:10 AM balaji-sivanath ***@***.***> wrote:
@tivac <https://github.com/tivac> Can you please tag a new release with
this fix?
Thanks in advance.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#455 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADBia3dgI-AnAKndNpsZ5ZfSteX_V3nks5uJw6-gaJpZM4VUBeF>
.
|
Latest release v14.1.0 is built with this changeset 119e10c. Above fix is merged after that, hence it is not there. |
Hrmm, not sure how that missed the 14.1.0 release since I intended it to be part of it. My mistake, I'll try to get to that soonish. |
Released in |
Given the following rollup configuration, external css source map is getting generated with file name as "bundle2.css" instead of "bundle.css.map"
Rollup version: 0.62.0
Modular css version: 14.0.1
The text was updated successfully, but these errors were encountered: