#
Webpack
#
A word about Rspack
Rspack is a partial rewrite of webpack in Rust and will most likely be its successor once it's features complete and stable. Our goal is to migrate to Rspack somewhere in 2024 or 2025 when a 1.0
version is released and Module Federation support is available.
Meanwhile, you can confidently start a new project with webpack as the migration process to Rspack is expected to be seamless; Rspack is committed to support the full webpack API and its massive plugin ecosystem.
#
Main features
The shared configurations offered by @workleap/webpack-configs
includes the following features 👇
#
Language support
- JavaScript
- TypeScript
- CSS (with CSS modules and PostCSS)
#
Framework support
- React
#
Asset support
- SVG as React components
- PNG
- JPEG
- GIF
#
Development features
- Development server
- File system caching
- Fast Refresh or Hot Module Reload
- Sourcemap
#
Production features
- File system caching
- Minification
- Output to
/dist
#
Target environment
As per the PostCSS and SWC configurations.
#
Getting started
To get started, follow the quick start guide to configure webpack for either a development environment or a production environment.