Skip to content
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

Do not throw on Webpack v4 #81

Merged
merged 1 commit into from
Jul 23, 2018
Merged

Do not throw on Webpack v4 #81

merged 1 commit into from
Jul 23, 2018

Conversation

amje
Copy link
Contributor

@amje amje commented May 24, 2018

Property this.options has been deprecated since webpack 3. In webpack 4 it's removed completely. To support both the new version and the old ones simple check added.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 93.038% when pulling 1805e1e on amje:webpack4 into d509488 on bem:master.

@keann
Copy link

keann commented May 29, 2018

Actually, it wasn't, just moved to this._compiler.options.
Also on the way to close #63 you anyway should update dev dependencies to webpack v4 and try to run tests )

@amje
Copy link
Contributor Author

amje commented May 29, 2018

Yeah... I think I should rename this PR to "Do not throw on webpack v4" ) To support webpack v4 we have to do way more work in tests: CommonsChunkPlugin -> SplitChunksPlugin, ExtractTextWebpackPlugin -> MiniCssExtractPlugin and maybe something else.

@amje amje changed the title Support Webpack 4 Do not throw on Webpack v4 May 29, 2018
@Yeti-or Yeti-or merged commit bdd87b6 into bem:master Jul 23, 2018
@Yeti-or
Copy link
Member

Yeti-or commented Jul 23, 2018

@amje sorry for such long delay
I'll add full support in separate pr

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.

None yet

5 participants