aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/webpack.conf.js
diff options
context:
space:
mode:
Diffstat (limited to 'lang/js/webpack.conf.js')
-rw-r--r--lang/js/webpack.conf.js21
1 files changed, 11 insertions, 10 deletions
diff --git a/lang/js/webpack.conf.js b/lang/js/webpack.conf.js
index b2ad9098..19f3bbda 100644
--- a/lang/js/webpack.conf.js
+++ b/lang/js/webpack.conf.js
@@ -19,17 +19,18 @@
*
* This is the configuration file for building the gpgmejs-Library with webpack
*/
+/* global require, module, __dirname */
const path = require('path');
module.exports = {
- entry: './src/index.js',
- // mode: 'development',
- mode: 'production',
- output: {
- path: path.resolve(__dirname, 'build'),
- filename: 'gpgmejs.bundle.js',
- libraryTarget: 'var',
- libraryExport: 'default',
- library: 'Gpgmejs'
- }
+ entry: './src/index.js',
+ // mode: 'development',
+ mode: 'production',
+ output: {
+ path: path.resolve(__dirname, 'build'),
+ filename: 'gpgmejs.bundle.js',
+ libraryTarget: 'var',
+ libraryExport: 'default',
+ library: 'Gpgmejs'
+ }
};