BabylonJS / BabylonJS/BabylonNative

Move the Apps JavaScript bundles from WebPack to Rollup

Open
#1,849 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
919
Forks
162
Avg merge
1d 15h
Merged PRs (30d)
19

Description

[Filed by Copilot on behalf of @bghgary]

`Apps/UnitTests/JavaScript/webpack.config.js` and `Apps/PrecompiledShaderTest/JavaScript/webpack.config.js` are the repo's only bundler configs. WebPack was chosen to align with Babylon.js, which has since moved to Rollup.

Raised by @ryantrem reviewing #1733:

> Not for this PR, but we made this WebPack to align with BJS, but BJS has moved to Rollup, so we really should do the same here.

Both should move together rather than leaving the repo split across two bundlers.

Contributor guide

Open the contributing guide

Research direction

Start by reading Apps/UnitTests/JavaScript/webpack.config.js and Apps/PrecompiledShaderTest/JavaScript/webpack.config.js to understand the two existing bundle configurations. Migrate both together and verify that the Apps JavaScript bundles use Rollup rather than leaving either WebPack configuration in the repository.

Written by the indexing model from the issue text.

Assessment

Tech stack
rollup, webpack
Domain
build-system
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.