summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Kingsley <josh@joshkingsley.me>2025-11-24 14:45:59 +0200
committerJosh Kingsley <josh@joshkingsley.me>2025-11-24 14:45:59 +0200
commit7c966e105cd9f65853de1aba0ecce63aa56aca0b (patch)
tree2d89705614e38a15af5ec3a992153b2ad50eace6
parent602145c956bb594ca0d0e10601cc4ad1a71cf70d (diff)
chore: add build task
-rw-r--r--packages/doc/package.json5
-rw-r--r--turbo.json4
2 files changed, 7 insertions, 2 deletions
diff --git a/packages/doc/package.json b/packages/doc/package.json
index 654ef67..d7b9a93 100644
--- a/packages/doc/package.json
+++ b/packages/doc/package.json
@@ -1,8 +1,9 @@
{
"name": "@notive/doc",
"private": true,
- "main": "dist/notive_doc.js",
- "module": true,
+ "exports": {
+ ".": "dist/notive_doc.js"
+ },
"scripts": {
"build": "wasm-pack build --target bundler --release --out-dir dist"
},
diff --git a/turbo.json b/turbo.json
index 48b01b8..d62812e 100644
--- a/turbo.json
+++ b/turbo.json
@@ -2,12 +2,16 @@
"$schema": "https://turborepo.com/schema.json",
"tasks": {
"dev": {
+ "dependsOn": ["^build"],
"cache": false,
"persistent": true
},
"test": {
"cache": false,
"persistent": true
+ },
+ "build": {
+ "outputs": ["dist/**"]
}
}
}