wasmux
Version:
WebAssembly toolchain for compiling libc and kernel into system-level WASM modules
30 lines (27 loc) • 621 B
JavaScript
/*
* MIT License
*
* Copyright (c) 2025 Yurii Yakubin (yurii.yakubin@gmail.com)
*
* Permission is granted to use, copy, modify, and distribute this software
* under the MIT License. See LICENSE file for details.
*/
const pkg = require("./package.json");
module.exports = {
compilationOptions: {
preferredConfigPath: "./tsconfig.json",
},
entries: [
{
filePath: "./loader/index.ts",
outFile: pkg.types,
failOnClass: true,
output: {
inlineDeclareGlobals: false,
sortNodes: true,
noBanner: true,
umdModuleName: pkg.name,
}
},
],
};