9 lines
322 B
Plaintext
9 lines
322 B
Plaintext
// This is CommonJS because lie is an external dependency, so Rollup
|
|
// can just ignore it.
|
|
if (typeof Promise === 'undefined') {
|
|
// In the "nopromises" build this will just throw if you don't have
|
|
// a global promise object, but it would throw anyway later.
|
|
require('lie/polyfill');
|
|
}
|
|
export default Promise;
|