-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: get FastBoot compatibility working again
- Loading branch information
1 parent
559fc74
commit ba29d12
Showing
6 changed files
with
483 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
(function() { | ||
function vendorModule() { | ||
'use strict'; | ||
|
||
const emotion = | ||
typeof FastBoot !== 'undefined' | ||
? FastBoot.require('emotion') | ||
: require('emotion-umd'); | ||
|
||
return Object.assign( | ||
{ | ||
default: emotion, | ||
__esModule: true | ||
}, | ||
emotion | ||
); | ||
} | ||
|
||
define('emotion', [], vendorModule); | ||
})(); |
Oops, something went wrong.