Code Monkey home page Code Monkey logo

Comments (18)

dwoznicki avatar dwoznicki commented on June 14, 2024 9

It looks like webpack 5 has deprecated the MultiEntryPlugin. The fix isn't too bad, but there's several other changes in webpack 5 that break this plugin. I have a working fork up at https://github.com/nettoolkit/prerender-loader, but I've only tested it for my project.

from prerender-loader.

dwoznicki avatar dwoznicki commented on June 14, 2024 7

Have you tried referencing the GitHub repo in your package.json? I currently have the following line in my dependencies to keep prerender-loader up-to-date:

"prerender-loader": "github:nettoolkit/prerender-loader#master",

from prerender-loader.

jmbastidas avatar jmbastidas commented on June 14, 2024 7

Any news on this one?

from prerender-loader.

rootlinux2 avatar rootlinux2 commented on June 14, 2024 5

Hi guys, any update here?

from prerender-loader.

ernie-h avatar ernie-h commented on June 14, 2024 3

Sadly seems dead :(

from prerender-loader.

ajukraine avatar ajukraine commented on June 14, 2024 2

@dwoznicki thank you so much for the fix! it seems that prerender-loader is the only working webpack5 tool to generate static files. Others (https://github.com/markdalgleish/static-site-generator-webpack-plugin) didn't work for me.

It's quite sad that most of such tools are getting deprecated in favour of heavyweight frameworks like Gatsby or Next.js

from prerender-loader.

dwoznicki avatar dwoznicki commented on June 14, 2024 1

@developit It looks like I'm no longer blocked by developit/microbundle#74, so I'll look into making my fork into a PR.

I'd really like to do something about #51 though. I can't incorporate prerender-loader into my project without this fix, so even if I submit a webpack 5 patch, I'll still need to keep using my fork. Is there something I could do to get this fix merged?

from prerender-loader.

snowinmars avatar snowinmars commented on June 14, 2024 1

Wtf, I can do this? Lol.
/ () __ () \

from prerender-loader.

jonathanobino avatar jonathanobino commented on June 14, 2024 1

Can someone ping a maintainer of this repo to fix the compatibility with webpack 5?

from prerender-loader.

ziven27 avatar ziven27 commented on June 14, 2024

It looks like webpack 5 has deprecated the MultiEntryPlugin. The fix isn't too bad, but there's several other changes in webpack 5 that break this plugin. I have a working fork up at https://github.com/nettoolkit/prerender-loader, but I've only tested it for my project.

thx for your answer

from prerender-loader.

edwardfxiao avatar edwardfxiao commented on June 14, 2024

Is there any plan on supporting webpack 5? 💭 @developit

from prerender-loader.

dakotaewigman avatar dakotaewigman commented on June 14, 2024

It looks like webpack 5 has deprecated the MultiEntryPlugin. The fix isn't too bad, but there's several other changes in webpack 5 that break this plugin. I have a working fork up at https://github.com/nettoolkit/prerender-loader, but I've only tested it for my project.

@dwoznicki Any plans to publish this package, since this project seems dead?

from prerender-loader.

developit avatar developit commented on June 14, 2024

This project isn't dead, the fork just needs to be a Pull Request. Happy to review if anyone takes the time to do that...

from prerender-loader.

dwoznicki avatar dwoznicki commented on June 14, 2024

@developit I can make a PR for my fork, but I have a number of additional changes that are unrelated to the Webpack 5 upgrade. Is that okay?

from prerender-loader.

developit avatar developit commented on June 14, 2024

That makes it a bit more difficult. I'm assuming these are functional changes?

from prerender-loader.

dwoznicki avatar dwoznicki commented on June 14, 2024

Well, it's a mixed bag. Off the top of my head, the other changes I've made include:

  • fix for #51
  • removed microbundle as a dependency (I can't build the current version due to developit/microbundle#74)
  • various dependency upgrades

from prerender-loader.

snowinmars avatar snowinmars commented on June 14, 2024

Upgrading webpack is so painfull. But awaiting for PR is pure suffering.
Wazup?

from prerender-loader.

snowinmars avatar snowinmars commented on June 14, 2024

@dwoznicki , I'm fine using your fork, but can't find @nettoolkit/prerender-loader at npmjs.

Can you push it into public repo as temporary workaround?

from prerender-loader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.