Tuesday, April 11, 2017

Laravel Mix sourcemaps error

When trying to include sourcemaps with Laravel Mix I get the following error:

Error: Invalid mapping: {"generated":
{"line":4276,"column":0},"source":"../../../../node_modules/bootstrap-
sass/assets/stylesheets/bootstrap/mixins/_buttons.scss","original":
{"line":42,"column":-1},"name":null}

As you can probably tell I'm working with bootstrap-sass and what's really strange is if I take the @include function out for the package compile, then put it back and compile again, it does so successfully.



via IainChambers

Advertisement