Skip to content
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

Source maps don't generate #614

Open
6 tasks done
Nowaker opened this issue Aug 22, 2019 · 0 comments
Open
6 tasks done

Source maps don't generate #614

Nowaker opened this issue Aug 22, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@Nowaker
Copy link
Contributor

Nowaker commented Aug 22, 2019

  • I tried updating to the latest version
  • I Am on Linux
    • Other: Arch Linux
  • I am on macOS 10.14
  • I'm on Docker
    • I understand Docker may be unsupported

Description

Steps

Neither of these configs generate source maps for either SCSS:

assets:
  source_maps: true
  compression: false
  prefix: '/assets'
  sources:
  - assets
  - assets/js
assets:
  source_maps: true
  compression: true
  prefix: '/assets'
  sources:
  - assets
  - assets/js

Adding JEKYLL_ENV=production or JEKYLL_ENV=development on top of the config above still doesn't trigger the generation of source maps.

Output

[2019-08-22 18:21:37] ERROR `/assets/css/site-f35f10fd08b6aa61d32980178990453f2e8f8f1dc43e5fe411ad14a31bf44821.css.map' not found.
[2019-08-22 18:20:41] ERROR `/assets/js/site-b534dbc9c94ee86fec4925290f78053cfc0affe8f0d2c461bace7428df0c4983.js.map' not found.

URLs without a .map work correctly and display a compressed JS/CSS.

Expected

Source maps should be generated.

@envygeeks envygeeks self-assigned this Mar 6, 2020
@envygeeks envygeeks added this to the v4.0.0 milestone Mar 6, 2020
@envygeeks envygeeks added the bug label Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants