webpack-dev-server簡單使用

建議在github閱讀javascript 1.webpack-dev-server配置 1.1 ContentBase webpack-dev-server會使用當前的路徑做爲請求的資源路徑,可是你能夠經過指定content base來修改這個默認行爲:css $ webpack-dev-server --content-base build/ 這樣webpack-dev-server就會使用b
相關文章
相關標籤/搜索