diff options
Diffstat (limited to '')
-rw-r--r-- | webpack.config.js | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000..be591cf --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,28 @@ +"use strict"; + +const path = require("path"); +const MinifyPlugin = require("babel-minify-webpack-plugin"); + +const JsDocPlugin = require('jsdoc-webpack-plugin'); + +module.exports = { + entry: { + zmodem: [ "./src/zmodem_browser.js" ], + "zmodem.devel": [ "./src/zmodem_browser.js" ], + }, + output: { + path: path.resolve( __dirname, "dist" ), + filename: "[name].js", + }, + plugins: [ + new MinifyPlugin( + null, + { + test: /zmodem\.js$/, + } + ), + new JsDocPlugin({ + conf: './jsdoc.json' + }) + ] +} |