Buckets:
| // Node v8 throw a `SyntaxError: Unexpected token import` | |
| // even if this branch is never touched in the code, | |
| // by using `eval` we can avoid this issue. | |
| // eslint-disable-next-line | |
| new Function('module', 'return import(module)')('./esm.mjs').catch((err) => { | |
| process.nextTick(() => { | |
| throw err | |
| }) | |
| }) | |
| // Node v8 throw a `SyntaxError: Unexpected token import` | |
| // even if this branch is never touched in the code, | |
| // by using `eval` we can avoid this issue. | |
| // eslint-disable-next-line | |
| new Function('module', 'return import(module)')('./named-exports.mjs').catch((err) => { | |
| process.nextTick(() => { | |
| throw err | |
| }) | |
| }) | |
Xet Storage Details
- Size:
- 649 Bytes
- Xet hash:
- 0c5ae7bfbb29be642f5f54cb4dc95af29b49c458793d6ef17ce7ab5b13b62510
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.