diff options
author | [email protected] <[email protected]> | 2018-04-10 09:33:14 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-04-10 16:47:59 +0000 |
commit | eef3a509fa5744e5f09ec8084985e6070b78226b (patch) | |
tree | d5fe58d4e50c56a2a750bac81d79266a71e5ec01 /lang/js/webpack.conf.js | |
parent | qt: Add test for resetting config value (diff) | |
download | gpgme-eef3a509fa5744e5f09ec8084985e6070b78226b.tar.gz gpgme-eef3a509fa5744e5f09ec8084985e6070b78226b.zip |
js: Initial commit for JavaScript Native Messaging API
--
Note this code misses all the legal boilerplate; please add this as
soon as possible and provide a DCO so we can merge it into master.
I also removed the dist/ directory because that was not source code.
Diffstat (limited to 'lang/js/webpack.conf.js')
-rw-r--r-- | lang/js/webpack.conf.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/js/webpack.conf.js b/lang/js/webpack.conf.js new file mode 100644 index 00000000..71b71161 --- /dev/null +++ b/lang/js/webpack.conf.js @@ -0,0 +1,13 @@ +const path = require('path'); + +module.exports = { + entry: './src/index.js', + // mode: 'development', + mode: 'production', + output: { + path: path.resolve(__dirname, 'dist'), + filename: 'gpgmejs.bundle.js', + libraryTarget: 'var', + library: 'Gpgmejs' + } +}; |