Implement code splitting for codemirror
This commit is contained in:
1 parent
f79b9dc0f7
commit
de759b8d93
7 files changed
+48
-6
No files matched your search
+3
-1
@@ -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"
|
||||
}
|
||||
}
|
||||
];
|
||||
Reference in new issue
Block a user