choojs / bankai

:station: - friendly web compiler
Apache License 2.0
1.09k stars 102 forks source link

files at root directory are not be served on bankai start #494

Closed ZhouHansen closed 6 years ago

ZhouHansen commented 6 years ago

This is a 🐛bug

manifest.json, sw.js and all files at root directory are not be served on bankai start. The local server doesn't recieve the corresponding requests. The requests it recieve are only :

/
/b3a5eccebf1152bc/bundle.css
/d0180fb38d9a210a/bundle.js
/bankai-reload.js.map
/d0180fb38d9a210a/bundle.js.map

and files under assets/

Code Sample

Using choo-create-app to try one.

Your Environment

Software Version(s)
Bankai 9.12.1
Runtime node 9.2.0
Package Manager npm 6.0.1
Operating System os 10.11.6
ZhouHansen commented 6 years ago

My fault, the browser doesn't load the content within <link> with some special rel in some condition.