DEV Community

Marcin Wosinek
Marcin Wosinek

Posted on • Edited on

1

webpack 5 - what can we achieve without using it

If you are new to js, you can get confused with all the tooling people are using. Before you decide on including webpack, or any other js bundler let's take a look first at what modern browsers allow us to achieve without any additional dependencies.

Short summary

  1. Native js modules allow us to import files from js, without any bundlers. More on modules - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
  2. If you make sure node_modules are with your application on the production deployment - you can import npm modules from your code as well.

Links

Full discussion

In the next article, I'll show the actual benefits of using a bundler, such as webpack 5.

SurveyJS custom survey software

JavaScript UI Libraries for Surveys and Forms

SurveyJS lets you build a JSON-based form management system that integrates with any backend, giving you full control over your data and no user limits. Includes support for custom question types, skip logic, integrated CCS editor, PDF export, real-time analytics & more.

Learn more

Top comments (0)

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free