Fix problem with compiling bezier-rs-wasm (#710)

Fix problem with compiling bezier-rs-wasm, remove unnecessary file

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Hannah Li 2022-07-01 16:58:07 -04:00 committed by Keavon Chambers
parent b2eae904d8
commit 0036d12b99
3 changed files with 4 additions and 23 deletions

View File

@ -1,20 +0,0 @@
{
"compilerOptions": {
"jsx": "preserve",
"target": "es5",
"module": "esnext",
"baseUrl": "./",
"moduleResolution": "node",
"paths": {
"@/*": [
"src/*"
]
},
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
}
}

View File

@ -6,14 +6,15 @@
"jsx": "preserve", "jsx": "preserve",
"importHelpers": true, "importHelpers": true,
"moduleResolution": "node", "moduleResolution": "node",
"experimentalDecorators": true,
"skipLibCheck": true,
"esModuleInterop": true, "esModuleInterop": true,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"sourceMap": true, "sourceMap": true,
"baseUrl": ".",
"types": [ "types": [
"node" "node"
], ],
"baseUrl": ".",
"paths": { "paths": {
"@/*": [ "@/*": [
"src/*" "src/*"

View File

@ -22,7 +22,7 @@ module.exports = defineConfig({
crateDirectory: path.resolve(__dirname, "wasm"), crateDirectory: path.resolve(__dirname, "wasm"),
// Remove when this issue is resolved: https://github.com/wasm-tool/wasm-pack-plugin/issues/93 // Remove when this issue is resolved: https://github.com/wasm-tool/wasm-pack-plugin/issues/93
outDir: path.resolve(__dirname, "wasm/pkg"), outDir: path.resolve(__dirname, "wasm/pkg"),
watchDirectories: ["../../../lib"].map((folder) => path.resolve(__dirname, folder)), watchDirectories: ["../../lib"].map((folder) => path.resolve(__dirname, folder)),
}) })
) )
.end(); .end();