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.

node-libs-browser included in bundle

See original GitHub issue

Version

nuxt-i18n: 6.15.3 nuxt: 2.14.7

Nuxt configuration

mode:

  • universal
  • [] spa

Reproduction Link

https://codesandbox.io/s/nuxt-i18nnode-libs-browser-kyvgu

Steps to reproduce

execute yarn analyze and search for node-libs-browser in the client bundle

What is Expected?

There should be no node-libs-browser.

What is actually happening?

The opposite

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
rchlcommented, Dec 4, 2020

@divine sounds good to me. That library looks nice.

1reaction
divinecommented, Dec 4, 2020

@rchl 👋, maybe it would be better to use https://github.com/lukeed/klona, according to benchmarks it looks much faster and less in size ?

I can push PR if you want.

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

node-libs-browser included in bundle #935 - GitHub
node -libs-browser included in bundle #935 ... Steps to reproduce. execute yarn analyze and search for node-libs-browser in the client bundle ...
Read more >
How to bundle your library for both NodeJS and Browser with ...
How to build JavaScript libraries for multiple targets. ... How to bundle your library for both NodeJS and Browser with Webpack.
Read more >
node-libs-browser | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >
Webpack2 node-libs-browser exclude? - Stack Overflow
When investigating why it seems I have large files like bn. js and eliptic (some dependencies of node-libs-browser - which itself is now...
Read more >
node-libs-browser - npm
The node core libs for in browser usage.. Latest version: 2.2.1, last published: 4 years ago. Start using node-libs-browser in your project ...
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