mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-10 01:50:55 +08:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user