easy-team / egg-vue-webpack-boilerplate

Egg Vue Server Side Render (SSR) / Client Side Render (CSR)
https://easyjs.cn/egg-vue
MIT License
1.36k stars 248 forks source link

集成到自己的项目中 manifest.json 里面 vendor.js 路径没有 public #150

Closed hlovingness closed 4 years ago

hlovingness commented 4 years ago
{
  "chunk/0.js": "/public/js/chunk/0.js",
  "chunk/1.js": "/public/js/chunk/1.js",
  "chunk/2.js": "/public/js/chunk/2.js",
  "chunk/3.js": "/public/js/chunk/3.js",
  "admin.js": "/public/js/chunk/admin.js",
  "runtime.js": "/public/js/runtime.js",
 // 这里没有 /public/ 
  "vendor.js": "/js/vendor.js",
  "deps": {
    "admin.js": {
      "js": [
        // 这里没有 /public/ 
        "/js/vendor.js",
        "/public/js/runtime.js",
        "/public/js/chunk/admin.js"
      ],
      "css": []
    }
  },
  "info": {
    "publicPath": "/public/",
    "buildPath": "\\public",
    "mapped": true
  }
}
hlovingness commented 4 years ago

easy clean 解决了问题