swc/bundler/tests/.cache/untrusted/b8a1f3ebc7471e3d99af6b7e3481b6275ff789cf.ts
강동윤 bbaf619f63
fix(bundler): Fix bugs (#1437)
swc_bundler:
 - [x] Fix wrapped esms. (denoland/deno#9307)
 - [x] Make test secure.
2021-03-02 17:33:03 +09:00

21 lines
711 B
TypeScript

// Loaded from https://dev.jspm.io/npm:jszip@3.5.0/lib/readable-stream-browser.dew.js
import _stream from "/npm:@jspm/core@1/nodelibs/stream.js";
var exports = {},
_dewExec = false;
export function dew() {
if (_dewExec) return exports;
_dewExec = true;
/*
* This file is used by module bundlers (browserify/webpack/etc) when
* including a stream implementation. We use "readable-stream" to get a
* consistent behavior between nodejs versions but bundlers often have a shim
* for "stream". Using this shim greatly improve the compatibility and greatly
* reduce the final size of the bundle (only one stream implementation, not
* two).
*/
exports = _stream;
return exports;
}