mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-29 05:35:25 +00:00
cc8c7e2cee
* Make all assets unique All CSS and JavaScript files have unique names now. I also moved the login to the /login path in order to ensure the HTML for each page is also unique. * Explicitly include assets to cache
17 lines
452 B
JavaScript
17 lines
452 B
JavaScript
const path = require("path");
|
|
const webpack = require("webpack");
|
|
const merge = require("webpack-merge");
|
|
const HtmlWebpackPlugin = require("html-webpack-plugin");
|
|
|
|
const root = path.resolve(__dirname, "../../..");
|
|
|
|
module.exports = merge(
|
|
require(path.join(root, "scripts/webpack.client.config.js"))({
|
|
dirname: __dirname,
|
|
entry: path.join(__dirname, "src/app.ts"),
|
|
name: "login",
|
|
template: path.join(__dirname, "src/app.html"),
|
|
}), {
|
|
},
|
|
);
|