Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"build": "NODE_ENV=production pnpm run test && pnpm run build:default && pnpm run build:wasm",
"build:default": "tsup",
"build:wasm": "WASM=1 tsup",
"test": "vitest run",
"dev:test": "vitest --update"
"test": "vitest run --outputTruncateLength=9999999",
"dev:test": "vitest --update --outputTruncateLength=9999999"
},
"repository": {
"type": "git",
Expand All @@ -44,11 +44,11 @@
"@types/opentype.js": "^1.3.3",
"@types/react": "^17.0.38",
"@types/yoga-layout": "^1.9.4",
"@vitest/ui": "^0.5.5",
"@vitest/ui": "^0.7.6",
"react": "^17.0.2",
"tsup": "^5.11.13",
"typescript": "^4.5.5",
"vitest": "0.5.4"
"vitest": "0.7.6"
},
"dependencies": {
"@shuding/opentype.js": "^1.3.4",
Expand Down
18 changes: 9 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/builder/text-decoration.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { buildXMLString } from 'src/utils'
import { buildXMLString } from '../utils'
Copy link
Copy Markdown
Member Author

@styfle styfle Mar 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build was failing with

Error: Failed to resolve import "src/utils" from "src/builder/text-decoration.ts". Does the file exist?

so I changed this to a relative path and it works now


export default function decoration(
{
Expand Down