spyrosjeva's avatar

scss source map not indexed by chrome

Im trying to edit my scss files live on chrome using the source maps generated by the yarn run production, the problem is that the files are not being recornized by chrome.

Im using the latest Chrome Canary and the support for sass is enabled by default

The source maps ar located in the same directory as the css files

The code the my test source map is this

{"version":3,"file":"\admin\css\login.min.css","sources":[],"mappings":";;;;;","sourceRoot":""}
0 likes
1 reply
bobbybouwmann's avatar

Well yarn run production will generate the smallest possible size of the files and therefore it will also leave out everything that is needed for the dev tools to change the files. When you run yarn run development it will actually leave comments in the files so it knows which file is triggering which part. With that you should be able to handle everything.

Let me know if yarn run development or yarn run dev works for you!

Please or to participate in this conversation.