Comments (18)
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.
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.
Any news on this one?
from prerender-loader.
Hi guys, any update here?
from prerender-loader.
Sadly seems dead :(
from prerender-loader.
@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.
@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.
Wtf, I can do this? Lol.
/ () __ () \
from prerender-loader.
Can someone ping a maintainer of this repo to fix the compatibility with webpack 5?
from prerender-loader.
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.
Is there any plan on supporting webpack 5? 💭 @developit
from prerender-loader.
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.
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.
@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.
That makes it a bit more difficult. I'm assuming these are functional changes?
from prerender-loader.
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.
Upgrading webpack is so painfull. But awaiting for PR is pure suffering.
Wazup?
from prerender-loader.
@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)
- webpack hangs forever after compilation if prerender-loader present in configuration HOT 2
- ES6 support HOT 1
- Error: Conflict: Multiple chunks emit assets to the same filename ssr-bundle.js HOT 7
- ECONNREFUSED 127.0.0.1:80 HOT 1
- It doesn't seem to support the latest version of html-webpack-plugin
- Don't run renderer when webpack in watch mode HOT 1
- Injecting content doesn't work
- TypeError: Cannot read property 'hash' of undefined HOT 5
- ReferenceError when external resources loaded HOT 1
- SyntaxError: The URL 'http:/ sockjs-node' is invalid HOT 3
- How does this work with vue?
- Trying to write a script for a discord bot to play music
- Remove Prerendered JavaScript
- Jsdom is obsolete HOT 1
- Error running npm build
- Is this project abandoned? No PR's merged or versions released in a year!
- npm build with webpack hangs but the build is finished and successful HOT 3
- Not working "templateParameters" when prerender-loader used HOT 3
- Presence of `{{prerender}}` inside html template causes error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prerender-loader.