DBF reader plugin

This commit is contained in:
SPRINX0\prochazka
2025-01-07 17:24:56 +01:00
parent 79bf9016a3
commit 2521f05526
11 changed files with 322 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
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',
},
plugins: [
new webpack.DefinePlugin({
'global.DBGATE_PACKAGES': 'window.DBGATE_PACKAGES',
}),
],
// uncomment for disable minimalization
// optimization: {
// minimize: false,
// },
};
module.exports = config;