Browse Source

Add entry point for devserver

JC Brand 3 years ago
parent
commit
0c02fbe4cf
1 changed files with 3 additions and 0 deletions
  1. 3 0
      webpack/webpack.serve.js

+ 3 - 0
webpack/webpack.serve.js

@@ -6,6 +6,9 @@ const path = require("path");
 
 module.exports = merge(common, {
     mode: "development",
+    entry: {
+        "converse": path.resolve(__dirname, "../src/entry.js"),
+    },
     devtool: "inline-source-map",
     devServer: {
         static: [ path.resolve(__dirname, '../') ],