You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please tell us about your environment:
Windows 10 + Node 6.11.0 + NPM 5.3.0
Current behavior:
Using htmlLoader property as described on docs give the following error when calling webpack:
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration has an unknown property 'htmlLoader'. These properties are valid:
Expected/desired behavior:
Because webpack no longer accepts properties not from webpack schema, the docs should be updated to use webpack.LoaderOptionsPlugin:
Meanwhile the usage of LoaderOptionsPlugin is the correct way, but it's usage is discouraged as it was mainly meant as a migration path between webpack v1 => webpack v2 in the early days of webpack v2 :)
michael-ciniawsky
changed the title
htmlLoader property not allowed on webpack 2 config (docs issue)htmlLoader property not allowed in webpack >= v2.0.0 configs
Jul 18, 2017
I'm submitting a bug report
Webpack version:
3.3.0
HTML-Loader version:
0.4.5
Please tell us about your environment:
Windows 10 + Node 6.11.0 + NPM 5.3.0
Current behavior:
Using
htmlLoader
property as described on docs give the following error when calling webpack:Expected/desired behavior:
Because webpack no longer accepts properties not from webpack schema, the docs should be updated to use
webpack.LoaderOptionsPlugin
:More information here: https://stackoverflow.com/a/43135993/198787
The text was updated successfully, but these errors were encountered: