bankai
bankai copied to clipboard
Production build served from a subfolder
My app will live in a subfolder on my domain, however after bankai build
, the css and js bundles are loaded from the domain root because they start with a forward slash. Is it possible to change this?
You can do:
bankai build app.js --base /sub/dir
That will generate tags like <script src="/sub/dir/HASH_HERE/bundle.js"></script>