webpack-concat-plugin icon indicating copy to clipboard operation
webpack-concat-plugin copied to clipboard

updates for new hooks in html-webpack-plugin

Open Jorybraun opened this issue 7 years ago • 7 comments

I ran into this issue today after upgrading to the next version of weback-html-plugin. #61

i left the old compiler options, this should be backwards compatible as i ran it with both versions of htmlWebpackPlugin, only the local decency version of webpack has to be the latest for this to work i guess, if that is true then the backwards compatibility will most likely not work.

Im not really sure if this will actually work unless the local version of html-webpack-plugin is upgraded aslo.

Perhaps we a conditional for the old compilation hooks. that might work.

Let me know what you think, this is my first time contributing to an open source project! :)

Jorybraun avatar Nov 27 '18 09:11 Jorybraun

@hxlniada, hey i'd to help resolve any issues you have with this PR really need it.

Jorybraun avatar Dec 03 '18 15:12 Jorybraun

Is this project still maintained? Otherwise, would you like some new contributors so that they can maintain this? I really don't want to have to fork this.

deshiknaves avatar Sep 18 '19 10:09 deshiknaves

@deshiknaves,

Id be happy to maintain this but i think a new package will have to be created

Jorybraun avatar Apr 23 '20 14:04 Jorybraun

@jaketodaro yep, me too. @hxlniada any thoughts?

deshiknaves avatar Apr 23 '20 23:04 deshiknaves

If this project is abandoned, I found another project which worked well for my use case: https://github.com/markshapiro/webpack-merge-and-include-globally

In my case I wanted it to output a manifest file using https://github.com/ztoben/assets-webpack-plugin. webpack-concat-plugin wouldn't play nice with assets-webpack-plugin as it didn't map the name to the manifest (only an empty string ""). Lucky for me webpack-merge-and-include-globally worked.

aesyondu avatar Apr 29 '20 18:04 aesyondu

I tried webpack-merge-and-include-globally and it works great for JS. Would just really like a simple solution of concat and sourcemaps for CSS. If anyone has suggestions, im all ears.

redfox05 avatar Oct 08 '20 14:10 redfox05

Can confirm webpack-merge-and-include-globally works more or less as a drop-in replacement for this plugin - and will likely be fine for most devs' needs.

Sad that the maintainer completely abandoned this library, it would have been quite elegant for them to pass ownership to the community and the plugin would have been kept alive.

tibineagu avatar Feb 06 '21 18:02 tibineagu