Test repo for fuse-box issue #290 (fixed with 1.3.121-preview.2)
This is essentially just some react+react-router+redux boilerplate that uses
preact
as a drop-in replacement for react
. It was meant to test the
above-mentioned fuse-box issue until it was fixed.
The react
and react-dom
packages are replaced by using this alias with fuse-box
:
alias: {
'react': 'preact-compat',
'react-dom': 'preact-compat'
}
git clone https://github.com/xdave/fuse-box-alias-test.git
cd fuse-box-alias-test
npm install
npm run dev
- Open browser to http://localhost:4444/
Shave a bunch of kB off my build? DON'T MIND IF I DO!
Use FuseBox.