Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2e5ef09

Browse files
committed
Fixed module bug when using es6 imports
1 parent 8572a56 commit 2e5ef09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ const lambda = Object
2424
});
2525

2626
if (typeof window !== 'undefined') window.PicoLambda = lambda;
27-
else module.exports = lambda;
27+
if(module) module.exports = lambda;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /