Explorar o código

Add entry point for devserver

JC Brand %!s(int64=3) %!d(string=hai) anos
pai
achega
0c02fbe4cf
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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, '../') ],