Skip to content

Instantly share code, notes, and snippets.

Steps Needed to Implement React Fragments

All Portal stuff is supposedly merged, so we all need to do is modify the Fragment CLI and the bundler to do what was described in the PoC description (look for section Explaining the PoC inside the document).

This includes:

  1. Modify the Fragments CLI to invoke helper build programs before creating the ZIP file: instead of packaging source files directly, let another enter the party to process those file before writing them to the ZIP.
@izaera
izaera / compare.js
Created April 16, 2024 10:17
Compare webpack and esbuild builds
/* package.json
{
"name": "compare",
"private": true,
"version": "1.0.13",
"devDependencies": {
"acorn": "^8.11.3",
"acorn-walk": "^8.3.2"
},
"scripts": {