summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/**"]
}
}
}