File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 44 "version" : " 1.4.1" ,
55 "description" : " Drop files in your Mendix Application" ,
66 "copyright" : " Mendix 2020" ,
7- "author" : " Jelte Lagendijk" ,
7+ "author" : " Jelte Lagendijk <jelte.lagendijk@mendix.com> " ,
88 "config" : {
99 "widgetPath" : " ./dist/MxTestProject/widgets" ,
1010 "projectPath" : " ./dist/MxTestProject/" ,
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ const merge = require("webpack-merge");
22const webpack = require ( "webpack" ) ;
33const path = require ( "path" ) ;
44const 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' ) ;
56
67const TerserPlugin = require ( "terser-webpack-plugin" ) ;
78const BundleAnalyzerPlugin = require ( 'webpack-bundle-analyzer' ) . BundleAnalyzerPlugin ;
@@ -49,7 +50,10 @@ const terserPlugin = new TerserPlugin({
4950 mangle : true , // Note `mangle.properties` is `false` by default.
5051 module : false ,
5152 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
5357 } ,
5458 toplevel : false ,
5559 nameCache : null ,
You can’t perform that action at this time.
0 commit comments