-
Notifications
You must be signed in to change notification settings - Fork 91
Add webpack 5 support #160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thank you so much dude ! |
Seeing as this loader doesn't claim to support webpack 3 I would take this PR over #158 |
// webpack4 and lower If earlier Webpack 3 was provided, then it will work. |
loader: require.resolve('./loader'), | ||
options: { | ||
match: this.options.match || [], | ||
attrsMatch: this.options.attrsMatch || [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
attrsMatch: this.options.attrsMatch || [] | |
attrsMatch: this.options.attrsMatch || [], | |
registerStylesSSR: this.options.registerStylesSSR || false |
Is registerStylesSSR
deliberately not included in the webpack5 version or was this an oversight?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oversight
@hmnd There are a handful of differences so if @bloodlit feels his attempt is better than #158 then why not raise a new PR. @bloodlit my point about webpack 3 support is based on vue-loader/commit/745d054. They had to beef up that Speaking of peerDependencies , neither this PR nor #158 update the peerDependencies to include support for webpack 5. Also, there has been a number of developments to webpack 5 that vue-loader has had to keep up with. I'm assuming vue-loader's implementation inspired this PR just like it did with #158, so do any of the below commits inspire further development on this PR to better support webpack 5?
|
Hi, I am trying this PR on my project and have problem with styles order in development. My custom styles are being overriden by Vuetify styles:
Next I tried to import whole Can anybody push me the right way where the problem is? |
I checked this PR - It build, but there a lot of errors in SASS. the same story here:
Many thanks to Angular for influencing Webpack and the unconsolidated upgrade to v5. |
Checked this PR now that |
Yeah I have my own implementation in progress that works with |
No description provided.