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

html-webpack-plugin cann't working with webpack-v5.0.0-bata.22 #1488

Closed
gapkukb opened this issue Jul 23, 2020 · 1 comment
Closed

html-webpack-plugin cann't working with webpack-v5.0.0-bata.22 #1488

gapkukb opened this issue Jul 23, 2020 · 1 comment

Comments

@gapkukb
Copy link

gapkukb commented Jul 23, 2020

Expected behaviour

can working with webpack v5

Current behaviour

cann't working with webpack v5

Environment

Node.js v12.16.3
win32 10.0.17763
npm v6.14.4
webpack@5.0.0-beta.22
html-webpack-plugin@4.3.0

node -e "var os=require('os');console.log('Node.js ' + process.version + '\n' + os.platform() + ' ' + os.release())"
npm --version
npm ls webpack
npm ls html-webpack-plugin

Error information:
(node:32632) [DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH] DeprecationWarning: MainTemplate.getAssetPath is deprecated (use Compilation.getAssetPath instead)

I am ensure that problem because of the api changed of webapck v5 . Do you have plan to suit to webpack v5?

@jantimon
Copy link
Owner

jantimon commented Oct 16, 2020

Can you please see if this is fixed with html-webpack-plugin@5.0.0-alpha.5 and webpack@5.1.2?
Please see also #1527

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

No branches or pull requests

2 participants