Open aksperiod opened 5 years ago
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?
bankai build
You can do:
bankai build app.js --base /sub/dir
That will generate tags like <script src="/sub/dir/HASH_HERE/bundle.js"></script>
<script src="/sub/dir/HASH_HERE/bundle.js"></script>
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?