Closed jessegavin closed 5 years ago
i'll take a look and see what i can find out 🤔
thanks for creating that repo. super handy. it looks like it's a dependency issue, the latest version of html-webpack-partials-plugin
requires html-webpack-plugin
v4+ which is still in beta i guess, so i think that's why it's not pulling in the latest 😞
that being said, there are 2 options here...
1) you can upgrade to the latest html-webpack-plugin
(tested this on your repo)
yarn add html-webpack-plugin@4.0.0-beta.5
2) you can install an older version of html-webpack-partials-plugin
, which uses html-webpack-plugin
3.2 (haven't tested this)
yarn add html-webpack-partials-plugin@0.4.1
aside from that, i'll see if i can better manage the dependencies on the plugin or at least i can make it more clear in the README
let me know if either of those work out for you. i dont think there were any changes to the webpack config API with the updated html-webpack-plugin
🤔
Works like a charm with html-webpack-plugin@4.0.0-beta.5
. Thanks for your help!
I ran into problems with this on a project, so I created an extremely stripped down repo try to get to the bottom of it.
The project is using Webpack 4.x with Webpack CLI 3.x
When I run
webpack
on the project I get the following error: