question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Webpack 4 support?

See original GitHub issue

Am i the only one having errors on webpack 4 even though on 3.11 its working fine?

Im getting Error: __cdnUrl is not a function or not avialable at runtime

I was using the plugin to get cdnUrl when application was running in the browser to load chunks from the correct environment - every env. has its own cdn.

Now im getting this error which is kind of weird.

Cheers

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:16 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
pavellozcommented, Mar 30, 2018

I just created project from scratch, by hand, using only webpack-require-from and it works excellent on webpack 4.4 – to sum up, i have something wrong in my project config 😃

Thank you very much for your time.

0reactions
agoldiscommented, Mar 31, 2018

@pavelloz thanks for your responses and providing the example. I will try to reproduce the problem and find a way to mitigate it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

To v5 from v4 - webpack
This guide aims to help you migrating to webpack 5 when using webpack directly ... it's recommended to update to the latest version...
Read more >
Upgrading Webpack 4 → 5 | Square Corner Blog
However, it only supported up to Webpack 4 and the project had been deprecated with no alternative recommendations.
Read more >
A Beginner's Guide to Webpack 4. In IT world, change is that ...
js'); console.log('App Version:', config.version);. The browser doesn't support require() , so ...
Read more >
Webpack 4 | Mobify DevCenter
Upgrading to webpack 4 can significantly improve a project's build time. ... Supported browser list is provided within package.json. - autoprefixer().
Read more >
Webpack 4.0 Release: What's New? - Auth0
For this reason, Webpack 4 now supports WebAssembly out of the box. In Webpack 4, you can import and export any local WebAssembly...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found