@emily-curry/snowpack-plugin-wasm-pack
Version:
Snowpack plugin for rust using wasm-pack 🦀
13 lines (12 loc) • 405 B
TypeScript
import type { SnowpackConfig } from 'snowpack';
export interface SnowPackPluginWASMPackOptions {
projectPath: string;
outDir?: string;
outName?: string;
logLevel?: 'info' | 'warn' | 'error';
scope?: string;
target?: 'bundler' | 'nodejs' | 'web' | 'no-modules';
watch?: boolean | Array<SnowpackConfig['mode']>;
extraArgs?: string[];
wasmPackPath?: string;
}