QingWei-Li / vue-markdown-loader

📇 Convert Markdown file to Vue2.0 component.
704 stars 161 forks source link

实时打包非常巨大,且不支持happypack #41

Open qingmingsang opened 6 years ago

qingmingsang commented 6 years ago
  1. md部分打包非常巨大,暂不知晓原因.

  2. 不支持happypack问题. vue-loader最新的版本已经修复了这个问题. 但是vue-markdown-loader和happypack一起使用还是会报错.

    "vue-loader": "^14.2.1",
    "vue-markdown-loader": "^2.4.0",
ERROR in ./node_modules/vue-loader!./node_modules/vue-markdown-loader/lib/markdown-compiler.js?raw!./example/docs/table.md
Module build failed: TypeError: Cannot read property '__proto__' of undefined
    at Object.module.exports (D:\usr\node_modules\vue-markdown-loader\lib\markdown-compiler.js:68:46)
 @ ./example/docs/table.md 1:17-119
 @ ./example/docs .*\.md$
 @ ./example/router/index.js
 @ ./example/main.js
 @ multi (webpack)-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./example/main.js
swittyle commented 4 years ago

@qingmingsang 后来解决了吗