Skip to content

Commit bec9783

Browse files
committed
Fixed umd bundle name
1 parent 471a5bd commit bec9783

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
File renamed without changes.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
},
5959
"scripts": {
6060
"deploy": "npm test && npm run build && npm publish",
61-
"build": "build:lib && build:umd",
61+
"build": "npm run build:lib && npm run build:umd",
6262
"build:lib": "cross-env BABEL_ENV=production babel ./src --out-dir lib --extensions '.ts'",
6363
"build:umd": "cross-env BABEL_ENV=production webpack",
6464
"test": "mocha --recursive ./test/*.ts --require ts-node/register",

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = {
44
mode: 'production',
55
entry: path.resolve(__dirname, './src/index.ts'),
66
output: {
7-
filename: 'iterize.min.js',
7+
filename: 'iterize.umd.js',
88
path: path.resolve(__dirname, 'dist'),
99
library: 'Iterize',
1010
libraryTarget: 'umd'

0 commit comments

Comments
 (0)