yarn build:production it works as expected.
yarn build and
yarn start there is no souce maps at
webpack.mix.js has the
souceMaps function at the end of the file:
What else do I have to look at? Thanks!
It can well be that the sourcemap is writting inline into the output CSS file.
Does it work in the browser developer tools? Does it show the original source (SCSS) files and line numbers when inspecting styles?
It doesn’t work and it doesn’t show the source files when inspect files. All styles are shown as it belongs to
Also, Chrome has enabled CSS source maps.
Hm, this appears to be a bug with
laravel-mix or of the webpack dependencies:
03:39PM - 18 Oct 18 UTC
11:53PM - 06 Mar 20 UTC
Laravel Mix Version: 2.1.14
Node Version (node -v): 10.12.0
NPM Version (npm -v): 6.4.1
Following the documentation here: https://laravel.com/docs/5.7/mix#css-source-maps
mix.sourceMaps() doesn't work. It's not...
Does some of these workaround help (especially those at the end)?
Also this thread:
wow! a bug from 2018?
Solved adding this to css block:
So, the entire block is:
This topic was automatically closed after 42 days. New replies are no longer allowed.