Implement code splitting for codemirror

This commit is contained in:
Shweelan Samson authored and Zaid Abdulla committed 2018-12-26 00:22:07 -08:00
1 parent f79b9dc0f7
commit de759b8d93
7 files changed
+48 -6

No files matched your search

+3 -1
View File
@@ -1,6 +1,7 @@
const nodeExternals = require("webpack-node-externals");
const CopyWebpackPlugin = require("copy-webpack-plugin");
const CleanWebpackPlugin = require("clean-webpack-plugin");
const path = require("path");
const mode = "production";
@@ -51,7 +52,8 @@ module.exports = [
mode: mode,
entry: "./client/app.js",
output: {
filename: "public/app.js"
path: path.resolve(__dirname, "dist/public"),
filename: "app.js"
}
}
];