Skip to content

Commit

Permalink
fix(build): ensure node uses umd build
Browse files Browse the repository at this point in the history
  • Loading branch information
keithamus committed Nov 9, 2017
1 parent 93e5080 commit 7900eaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"index.js",
"type-detect.js"
],
"main": "./index.js",
"main": "./type-detect.js",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/chaijs/type-detect.git"
Expand Down
2 changes: 1 addition & 1 deletion rollup.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default {
output: {
file: env === 'test' ? 'type-detect.test.js' : 'type-detect.js',
name: 'typeDetect',
format: 'iife',
format: 'umd',
},
plugins,
};

2 comments on commit 7900eaf

@ebdrup
Copy link

@ebdrup ebdrup commented on 7900eaf Nov 9, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, you found this. :-) looking forward to having it on npm :-)

@rafaelcardoso
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my tests were breaking because of this, thanks for the fix. waiting to have it on npm 😉

Please sign in to comment.