dbgate/plugins/dbgate-plugin-clickhouse/webpack-frontend.config.js
2024-09-10 14:29:51 +02:00

25 lines
438 B
JavaScript

var webpack = require("webpack");
var path = require("path");
var config = {
context: __dirname + "/src/frontend",
entry: {
app: "./index.js",
},
target: "web",
output: {
path: path.resolve(__dirname, "dist"),
filename: "frontend.js",
libraryTarget: "var",
library: 'plugin',
},
// uncomment for disable minimalization
// optimization: {
// minimize: false,
// },
};
module.exports = config;