Native Bundler
This is an attempt at making a javascript bundler program that follows the next constraints/features:
- Imports must be from absolute locations (
import React from 'https://unpkg.com/react@16.4.2/umd/react.production.min.js';
) or relative assets (i.e. no node_modules) - Support for imports of other assets
- CSS ✅
- HTML
- SVG
- TXT
- MD
- MDX ✅
- JS ✅
- More?
- Support static builds
Maybe more as well, but those are the ones I want to start with.
TODO:
-
Test Runner
- support file diffs
-
Bundler
- Asset Downloader
- Determine import query param structure
- Actual bundling assets
- Fix asset ID generation logic
- Plugin Architecture