A simple bundler in the works.
- Babel preset-env applied by default ✔️
- Supports JS, JSON and JSX files ✔️
- Build is minified using Terser ✔️
- Automatic resolution of extensionless imports ✔️
- Transforms external lib imports/exports to CommonJS
To run the tests, simply run the npm run test
command.
Additionally there is an e2e
script that runs a real scenario for a bundler: Build, Ship to the browser, Validate the result.
- Definitions e.g. (As webpack Define plugin)
- Browser package.json field as an object
- Bundle and run a React/ReactDOM project