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.

Update webpack to minify and optimize bundle

See original GitHub issue

Knowabunga! 🐢🐢🐢🐢

This issue is tagged Knowabunga. It is only open for participants of the Knowabunga/DAV hackathon!

Thank you for your help ❤️

What is this project?

DAV (Decentralized Autonomous Vehicles) is a new foundation working to build an open-source infrastructure for autonomous vehicles (cars, drones, trucks, robots, and all the service providers around them) to communicate and transact with each other over blockchain.

The specific project you are looking at is Missions. Missions is the client facing side of the marketplace connecting DAV users looking to ship packages, with autonomous vehicles such as drones.

How you can help

When running npm run build, webpack uses the settings from webpack.prod.js. These currently do not minify or optimize the code output in any way.

Add code minification and optimization to the production build.

Contributing to Missions

  • Make sure no one has commented below that they are starting to work on this already.
  • Comment in this issue that you would like to do it.
  • Fork the repository from the Missions GitHub page.
  • Clone a copy to your local machine with $ git clone git@github.com:YOUR-GITHUB-USER-NAME/missions.git
  • Code, code, code!
  • Once you’ve made sure all your changes work correctly and committed all your changes, push your local changes back to github with $ git push -u origin master
  • Visit your fork on GitHub.com (https://github.com/YOUR-USER-NAME/missions) and create a pull request for your changes.
  • Make sure your pull request describes exactly what you changed and references this issue (include the issue number in the title like this: #6)
  • Get hooked on open source!

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
ovpvcommented, Nov 9, 2017

oh. ok

1reaction
cg-cnucommented, Nov 9, 2017

Hey @viktor17492 Sorry to say but these issues are reserved for the participants of the hackathon happening tomorrow in Sweden. Tal has already mentioned at the top of the issue…

This issue is tagged Knowabunga. It is only open for participants of the Knowabunga/DAV hackathon!

We will be creating more issues open to all in the future… start watching the repo and join our gitter channel to get the updates 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Webpack: Minifying your bundle for production use - Byteridge
The issue is that we're now manually configuring the optimization minimizer section of our webpack config. When that section isn't in the ...
Read more >
Optimization - webpack
webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable...
Read more >
How to build minified and uncompressed bundle with webpack?
Just a small gotcha: when you call webpack with arguments, like webpack -p the settings from webpack.optimize.UglifyJsPlugin in your webpack config will be...
Read more >
Minifying Webpack Bundles
Plugins have power to modify the Webpack bundle itself. Minifying code will change how the bundle is produced, so this tool is a...
Read more >
5 Methods to Reduce JavaScript Bundle Size - Bits and Pieces
How to optimize your application by reducing bundle size ... using npm or yarn and update the Webpack config file as follows: ...
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