webpack.config.js 206 B

12345678910111213
  1. const {resolve} = require('path');
  2. module.exports = {
  3. entry: [
  4. './md5.js'
  5. ],
  6. output: {
  7. path: resolve('./dist'),
  8. filename: 'md5.min.js',
  9. libraryTarget: "var",
  10. library: "MD5"
  11. }
  12. };