.scss method with .sourceMaps produces an empty sourcemap file.
See original GitHub issue- Laravel Mix Version: 0.8.1
- Node Version (
node -v
): 7.6.0 - NPM Version (
npm -v
): 4.2.0 - OS: macOS 10.12.3
Description:
.sass
method with .sourceMaps()
generates an empty sourcemap
mix config:
mix.js('resources/assets/js/main.js', 'public/js/bundle.js')
.js('resources/assets/js/index-page.js', 'public/js/index-page.js')
.js('resources/assets/js/icons.js', 'public/js/icons.js')
.extract(['jquery', 'babel-polyfill'])
.autoload({
jquery: ['$', 'jQuery', 'window.jQuery'],
'headroom.js': ['Headroom']
})
.sass('resources/assets/sass/style.scss', 'public/css')
.disableNotifications()
.options({
processCssUrls: false
})
.sourceMaps()
.browserSync({
proxy: process.env.LOCAL_PROXY,
files: [
'app/**/*.php',
'resources/views/**/*.php',
'public/js/**/*.js',
'public/css/**/*.css'
]
})
Steps To Reproduce:
Run npm run watch
with the provided config.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
scss method with .sourceMaps produces an empty ... - GitHub
Steps To Reproduce: Run npm run watch with the provided config. The text was updated successfully, but these errors were encountered: ...
Read more >Angular 4 webpack sass sourcemap file almost empty (using ...
What do I need to change to get the source map file to be generated correctly? My webpack.config.js file looks like: const path...
Read more >Should I Use Source Maps in Production? | CSS-Tricks
A “source map” is a special file that connects a minified/uglified version of an asset (CSS or JavaScript) to the original authored version....
Read more >Create Source Maps in TypeScript: Inline or File
A source map is a special piece of data that “maps” this obfuscated code back to its original state for us to work...
Read more >sourceMaps problem with Laravel Mix - Laracasts
I'm not able to generate source maps files. In fact, they're generated ONLY when running npm run production , but the css one...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in #654
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.