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

Frontend Build: Css Minimizer Plugin: Ignoring local source map #3

Open
danceratopz opened this issue Nov 27, 2021 · 2 comments
Open
Assignees
Labels
question Further information is requested

Comments

@danceratopz
Copy link
Owner

Building the frontend with:

yarn build

generates the warning:

Css Minimizer Plugin: Ignoring local source map at "/opt/build/repo/client/bootstrap.min.css.map" as resource is missing. 

The warning seems to make little sense as bootstrap.min.css.mmap is located in client/node_modules/bootstrap/dist/css/.

@danceratopz danceratopz added the question Further information is requested label Nov 27, 2021
@danceratopz danceratopz self-assigned this Nov 27, 2021
@danceratopz
Copy link
Owner Author

danceratopz commented Nov 27, 2021

For now this is solved using the ugly hack of removing the mapping from the installed css file (upon the deployment step in netlify itself)
https://stackoverflow.com/a/23909455

I didn't mange to solve it via config as suggested in the comments to this question here:
https://stackoverflow.com/q/56244866

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants
@danceratopz and others