diff --git a/README.md b/README.md index fa93ed1..1260bb0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # @cryptography/sha256 -[![Bundlephobia](https://img.shields.io/bundlephobia/minzip/@cryptography/sha256)](https://bundlephobia.com/result?p=@cryptography/sha256@0.1.3) +[![Bundlephobia](https://img.shields.io/bundlephobia/minzip/@cryptography/sha256)](https://bundlephobia.com/result?p=@cryptography/sha256@0.1.4) [![Coverage](https://img.shields.io/codecov/c/github/js-cryptography/sha256?token=617017dc35344eb6b4637420457746c8)](https://codecov.io/gh/js-cryptography/sha256) [![Travis CI](https://img.shields.io/travis/js-cryptography/sha256)](https://travis-ci.com/js-cryptography/sha256) diff --git a/webpack.config.js b/webpack.config.js index 7edd6c6..4c087f7 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -19,7 +19,7 @@ module.exports = (env, argv) => { output: { path: 'dist/umd', - library: 'sha512', + library: 'sha256', }, optimization: { @@ -69,7 +69,7 @@ module.exports = (env, argv) => { output: { ...commonConfig.output, path: path.resolve(__dirname, 'dist/umd'), - filename: 'sha512.min.js', + filename: 'sha256.min.js', libraryTarget: 'umd', }, }, @@ -84,7 +84,7 @@ module.exports = (env, argv) => { output: { ...commonConfig.output, path: path.resolve(__dirname, 'dist/cjs'), - filename: 'sha512.min.js', + filename: 'sha256.min.js', libraryTarget: 'commonjs2', }, },