0.20.0
- feat: combine mappings and redirects (#129)
- feat: inject import declarations after leading trivia (#130)
This release combines the concept of "redirects" and "mappings" into just "mappings".
Before:
await build({
// ...etc...
mappings: {
"https://deno.land/x/code_block_writer@11.0.0/mod.ts": {
name: "code-block-writer",
version: "^11.0.0",
},
},
redirects: {
"./file.deno.ts": "./file.node.ts",
},
});After:
await build({
// ...etc...
mappings: {
"https://deno.land/x/code_block_writer@11.0.0/mod.ts": {
name: "code-block-writer",
version: "^11.0.0",
},
"./file.deno.ts": "./file.node.ts",
},
});