mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 05:01:42 +03:00
bbaf619f63
swc_bundler: - [x] Fix wrapped esms. (denoland/deno#9307) - [x] Make test secure.
11 lines
244 B
TypeScript
11 lines
244 B
TypeScript
// Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_reduced.js
|
|
|
|
|
|
export default function _reduced(x) {
|
|
return x && x['@@transducer/reduced'] ? x :
|
|
{
|
|
'@@transducer/value': x,
|
|
'@@transducer/reduced': true
|
|
};
|
|
}
|