Skip to content

Commit

Permalink
Include banner
Browse files Browse the repository at this point in the history
  • Loading branch information
JelteMX committed Jan 14, 2022
1 parent 83bb3f4 commit 1a78424
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "1.4.1",
"description": "Drop files in your Mendix Application",
"copyright": "Mendix 2020",
"author": "Jelte Lagendijk",
"author": "Jelte Lagendijk <jelte.lagendijk@mendix.com>",
"config": {
"widgetPath": "./dist/MxTestProject/widgets",
"projectPath": "./dist/MxTestProject/",
Expand Down
6 changes: 5 additions & 1 deletion webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const merge = require("webpack-merge");
const webpack = require("webpack");
const path = require("path");
const baseConfig = require("./node_modules/@mendix/pluggable-widgets-tools/configs/webpack.config.prod.js");//Can also be webpack.config.prod.js
const pkg = require('./package.json');

const TerserPlugin = require("terser-webpack-plugin");
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
Expand Down Expand Up @@ -49,7 +50,10 @@ const terserPlugin = new TerserPlugin({
mangle: true, // Note `mangle.properties` is `false` by default.
module: false,
output: {
comments: false
comments: false,
beautify: false,
preamble: `/* FileDropper for Mendix || Version ${pkg.version} || Apache 2 LICENSE || Developer: ${pkg.author} || Please report any issues here: https://github.com/mendixlabs/mendix-file-dropper/issues */\n`
// comments: false
},
toplevel: false,
nameCache: null,
Expand Down

0 comments on commit 1a78424

Please sign in to comment.