Move the Apps JavaScript bundles from WebPack to Rollup

Open
#1,849 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

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.

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.

Dominant language
C++
Stars
931
Forks
169
Avg merge
2d 17h
Merged PRs (30d)
66

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BabylonJS/BabylonNative

All issues in BabylonJS/BabylonNative

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.