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.

Migrate to Webpack 3 and Yarn

See original GitHub issue

npm@5.4.0 completely broke SauceLabs integration, which made me lock it at 5.3.0 for now. Also Grunt’s config is slightly growing too much and getting mixed with npm scripts. This duo is working for now, but it’d be nice to get them updated soon.

Same goes for raven-node.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
austinpraycommented, Oct 31, 2017

I’m getting sort of discouraged.

  1. Right off the bat the webpack output is 10kb heavier than the grunt output
  2. webpack is not ie8 compatible, so we have to shim the es5 methods it uses in the module loading boilerplate. This adds another 20kb to the bundle.

I know you guys are trying to keep the output small as possible, so this sorta seems like a dealbreaker to me.

0reactions
kamilogorekcommented, Jan 9, 2018

@saiichihashimoto we are <10kb gzipped. Changing build system won’t reduce that much, as we don’t have any external dependencies.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migration | Yarn - Package Manager
A step-by-step and in-depth migration guide from Yarn 1 (Classic) to Yarn 2 (Berry).
Read more >
Migrating towards Yarn and Webpack | Wingify Engineering
Migrating from NPM to Yarn - First step towards a new journey. After reading about Yarn, the team was really curious to play...
Read more >
To v4 from v3 - webpack
The CLI has moved to a separate package: webpack-cli. You need to install it before using webpack, see basic setup. The installation guide...
Read more >
Webpack upgrade from 3 to 4 - Medium
Add following line to your webpack.config.js file. ... Now onward strategy will be read console warnings and errors, solve them, and move ahead....
Read more >
Moving from Webpack 3 to Webpack 4 - WeAreBrain
Moving from Webpack 3 to Webpack 4 — Now with some exciting updates ... yarn add webpack webpack-cli --dev or npm i webpack...
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