electronでvue.jsのエラー

もしvue js で

You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build 

 と言われてwebpack使っていないという時は

node_modules/vue/package.json内の"main"を"dist/vue.runtime.common.js"から"dist/vue.js"にするとうまくいく。どっかでoverwrite的に出来ないのかな?