mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-27 12:45:25 +00:00
b4798d1a48
* Fix syntax highlighting, process spawning, extensions, terminals * Replace colons in toISOString * Move pathSets included in task
20 lines
551 B
JavaScript
20 lines
551 B
JavaScript
const path = require("path");
|
|
const webpack = require("webpack");
|
|
const merge = require("webpack-merge");
|
|
const BundleAnalyzerPlugin = require("webpack-bundle-analyzer").BundleAnalyzerPlugin;
|
|
|
|
module.exports = merge(require("./webpack.common.config.js"), {
|
|
devtool: "cheap-module-eval-source-map",
|
|
output: {
|
|
path: path.join(__dirname, "out"),
|
|
},
|
|
entry: [
|
|
"webpack-hot-middleware/client?reload=true&quiet=true",
|
|
"./packages/web/src/index.ts"
|
|
],
|
|
plugins: [
|
|
new webpack.HotModuleReplacementPlugin(),
|
|
// new BundleAnalyzerPlugin(),
|
|
]
|
|
});
|