Refactor bezier-rs' to_svg functionality (#758)

* Change Bezier to_svg to include handles and endpoints

* Move params into brackets of format macro, remove unused comment

* Use write macro instead of format

* Fix path for watched directory

* Refactor functions to remove ToSVGOptions
This commit is contained in:
Hannah Li
2022-09-01 23:13:39 -04:00
committed by GitHub
parent 131f24300a
commit 0a1665b87d
9 changed files with 388 additions and 347 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ module.exports = defineConfig({
crateDirectory: path.resolve(__dirname, "wasm"),
// Remove when this issue is resolved: https://github.com/wasm-tool/wasm-pack-plugin/issues/93
outDir: path.resolve(__dirname, "wasm/pkg"),
watchDirectories: ["../../lib"].map((folder) => path.resolve(__dirname, folder)),
watchDirectories: ["../../../libraries/bezier-rs"].map((folder) => path.resolve(__dirname, folder)),
})
)
.end();