UNPKG

@cocalc/static

Version:

CoCalc's static frontend Webpack-based build system and framework

18 lines 621 B
const HtmlWebpackPlugin = require("html-webpack-plugin"); module.exports = function (registerPlugin, PRODMODE, title) { registerPlugin("HTML -- generates the app.html file", new HtmlWebpackPlugin({ title, filename: "app.html", template: "src/app.html", hash: PRODMODE, chunks: ["load", "app"], })); registerPlugin("HTML -- generates the embed.html file", new HtmlWebpackPlugin({ title, filename: "embed.html", template: "src/app.html", hash: PRODMODE, chunks: ["load", "embed"], })); }; //# sourceMappingURL=app-loader.js.map