prerender-loader icon indicating copy to clipboard operation
prerender-loader copied to clipboard

📰 Painless universal pre-rendering for Webpack.

Results 29 prerender-loader issues
Sort by recently updated
recently updated
newest added

Webpack config ```js // ... mode: 'production', rules: [ { test: path.resolve(__dirname, 'public/index.html'), loader: 'prerender-loader?string' }, // ... plugins: [ new CleanWebpackPlugin(), new MiniCssExtractPlugin({ filename: 'css/[name].css', chunkFilename: 'css/[name].css', }), new...

There is a mistake in the README where `render` is being called with `renderToString` imported above.

Something up with the latest react hooks stuff. I'm trying to narrow it down but no luck so far. `Error: Uncaught [TypeError: Cannot read property 'network' of null]` `result =...

question

This should fix #29. (update: it doesn't).

is there a way to access 'PRERENDER' env variable inside a regular template.html? ``` if ('serviceWorker' in navigator) { navigator.serviceWorker.register('/service-worker.js'); } Taco You need to enable JavaScript to run this...

question

:bug: Not able to use some of `html-webpack-plugin`'s templating features. Example from https://github.com/jantimon/html-webpack-plugin/blob/master/README.md#generating-multiple-html-files ``` ``` is rendered by this plugin as ``` <%= htmlWebpackPlugin.options.title %> ```

question

Hi, the prerender-loader works fine for me except when it comes to css. In my index.js: `import './style.scss` But when I run the build I get this error: `ERROR in...

bug
help wanted

Sounds like a great way to optimize performance, but i'm very curious if this will serve actual content pre-rendered, or just some sort of placeholder skeleton? Thanks for making this!

question