File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 4
4
"version" : " 1.4.1" ,
5
5
"description" : " Drop files in your Mendix Application" ,
6
6
"copyright" : " Mendix 2020" ,
7
- "author" : " Jelte Lagendijk" ,
7
+ "author" :
" Jelte Lagendijk <[email protected] > " ,
8
8
"config" : {
9
9
"widgetPath" : " ./dist/MxTestProject/widgets" ,
10
10
"projectPath" : " ./dist/MxTestProject/" ,
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ const merge = require("webpack-merge");
2
2
const webpack = require ( "webpack" ) ;
3
3
const path = require ( "path" ) ;
4
4
const baseConfig = require ( "./node_modules/@mendix/pluggable-widgets-tools/configs/webpack.config.prod.js" ) ; //Can also be webpack.config.prod.js
5
+ const pkg = require ( './package.json' ) ;
5
6
6
7
const TerserPlugin = require ( "terser-webpack-plugin" ) ;
7
8
const BundleAnalyzerPlugin = require ( 'webpack-bundle-analyzer' ) . BundleAnalyzerPlugin ;
@@ -49,7 +50,10 @@ const terserPlugin = new TerserPlugin({
49
50
mangle : true , // Note `mangle.properties` is `false` by default.
50
51
module : false ,
51
52
output : {
52
- comments : false
53
+ comments : false ,
54
+ beautify : false ,
55
+ 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`
56
+ // comments: false
53
57
} ,
54
58
toplevel : false ,
55
59
nameCache : null ,
You can’t perform that action at this time.
0 commit comments