misc
This commit is contained in:
parent
18edf05f93
commit
5b1646cf40
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@ttf/deploy-bundler",
|
||||
"name": "@ttf/wasm-bundle",
|
||||
"version": "0.1.0",
|
||||
"exports": "./mod.ts",
|
||||
"imports": {
|
||||
|
2
mod.ts
2
mod.ts
@ -31,7 +31,7 @@ const resolvePlugin:ESBuild.Plugin = {
|
||||
await ESBuild.initialize({ worker: false });
|
||||
export type ImportMap = Parameters<typeof Mapper.importmapPlugin>[0];
|
||||
export type BuildOptions = ESBuild.BuildOptions;
|
||||
export default async function(buildOptions={} as BuildOptions, importMap:ImportMap|false = false)
|
||||
export default async function(buildOptions={} as BuildOptions, importMap:ImportMap|false = false):Promise<ESBuild.BuildResult<ESBuild.BuildOptions>>
|
||||
{
|
||||
if(importMap === false)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user