Skip to content

Commit 94cd6a2

Browse files
authored
Merge pull request #120 from chaijs/fix-build
fix(build): ensure node uses umd build
2 parents 018367e + 7900eaf commit 94cd6a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"index.js",
1818
"type-detect.js"
1919
],
20-
"main": "./index.js",
20+
"main": "./type-detect.js",
2121
"repository": {
2222
"type": "git",
2323
"url": "git+ssh://[email protected]/chaijs/type-detect.git"

rollup.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default {
1414
output: {
1515
file: env === 'test' ? 'type-detect.test.js' : 'type-detect.js',
1616
name: 'typeDetect',
17-
format: 'iife',
17+
format: 'umd',
1818
},
1919
plugins,
2020
};

0 commit comments

Comments
 (0)