To fix a problem,file directory bug.

to deal file directory like this :"{public}/{plugins}/xx.js"