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

Switch to html-webpack-plugin 4.x #1236

Merged
merged 1 commit into from
Jan 3, 2021
Merged

Switch to html-webpack-plugin 4.x #1236

merged 1 commit into from
Jan 3, 2021

Conversation

indeyets
Copy link
Contributor

@indeyets indeyets commented Jan 2, 2021

Use modern version of https://github.com/jantimon/html-webpack-plugin

It is not fully backwards-compatible (that's why we postponed the switch for so long). How can we verify that it works properly? My manual tests are successful

@indeyets indeyets requested a review from davidmz January 2, 2021 15:50
@@ -157,5 +160,5 @@ html(lang='en')
}
})(window, document);

script(src=htmlWebpackPlugin.files.chunks.app.entry)
script(src=htmlWebpackPlugin.files.chunks.common.entry)
script(src=htmlWebpackPlugin.files.js[1])
Copy link
Member

Choose a reason for hiding this comment

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

А по именам тут никак нельзя к чанкам обращаться?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

В этом и суть. Поэтому я долго не обновлялся. Надо попробовать. Но кажется там были какие-то принципиальные сложности

Возможно получится

Copy link
Member

Choose a reason for hiding this comment

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

Да, выпилили напрочь: jantimon/html-webpack-plugin#1369. В данных я не вижу никаких намёков на имена.

Copy link
Member

@davidmz davidmz left a comment

Choose a reason for hiding this comment

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

Вроде всё работает

@indeyets indeyets merged commit 4795604 into stable Jan 3, 2021
@indeyets indeyets deleted the html-webpack-plugin4 branch January 3, 2021 17:52
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.

2 participants