Skip to content

Conversation

Grafikart
Copy link
Contributor

@Grafikart Grafikart commented Mar 16, 2020

The webpack encore version style loader is too old and inject CSS using <link> instead of <style>. This solution loads style asynchronously cause lots of problem with JavaScript.

With this upgrade style-loader doesn't accept sourcemap anymore. SourceMap support is calculated from previous loaders (https://github.com/webpack-contrib/style-loader#source-maps)

Copy link
Member

@weaverryan weaverryan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to me. @Lyrkan do you see any issues?

@Lyrkan
Copy link
Collaborator

Lyrkan commented Mar 20, 2020

This makes sense to me. @Lyrkan do you see any issues?

@weaverryan Can't see any, it's probably one of the things we never updated ^^'
Breaking changes are listed there: https://github.com/webpack-contrib/style-loader/releases/tag/v1.0.0

@weaverryan
Copy link
Member

Thank you Jonathan!

@weaverryan weaverryan merged commit fd93a4e into symfony:master Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants