mirror of
https://github.com/unjs/unbuild.git
synced 2025-12-08 19:25:11 +00:00
fix(esbuild): typo in sourcemap option (#259)
This commit is contained in:
parent
9fd918f974
commit
85beaff24a
@ -78,10 +78,10 @@ export function esbuild(options: Options): Plugin {
|
||||
}
|
||||
|
||||
const result = await transform(code, {
|
||||
...options,
|
||||
...options as any,
|
||||
loader,
|
||||
sourcefile: id,
|
||||
sourcemap: options.sourceMap ?? options.sourceMap,
|
||||
sourcemap: options.sourcemap ?? options.sourceMap,
|
||||
});
|
||||
|
||||
printWarnings(id, result, this);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user