Automatically bundle esmodules in /public
. This is for bundling frontend assets.
Example app.arc
; enable bundling by declaring the bundle
folder for build output:
@app
myapp
@static
bundle dist # currently in this app a default value; but think if we build in this would be the toggle 'on'
entry index.js # pre bundle file(s) at deploy time for max speeds
- add
src/http/get-index/get-bundle
to@architect/functions
- speed up sync
- auto ignore bundle folder in deploy
- merge capability maybe instead
- is many buckets possible? (seems no because local dev)
- investigate using internal dynamo table locally to hide local manifest.json fugly