const merge = require("webpack-merge");
const common = require("./webpack.common.js");

module.exports = merge(common, {
  entry: "./src/ts/renderer.ts",
  target: "electron-renderer",
  output: {
    filename: "renderer.js"
  },
  resolve: {
    alias: {
      'vue$': 'vue/dist/vue.esm.js' 
    }
  }
});

@@ -79,16 +79,52 @@
 on.js%22);
+%0Aconst webpack = require(%22webpack%22);
 %0A%0Amodule
@@ -295,17 +295,17 @@
     
-'
+%22
 vue$
-': '
+%22: %22
 vue/
@@ -323,20 +323,139 @@
 m.js
-' 
+%22%0A    %7D%0A  %7D,%0A  plugins: %5B%0A    new webpack.DefinePlugin(%7B%0A      %22process.env%22: %7B%0A        NODE_ENV: '%22production%22'%0A      %7D
 %0A    %7D
+)
 %0A  
-%7D
+%5D
 %0A%7D);

Use vue in production mode