Skip to content

Commit

Permalink
fixup! review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb committed Dec 11, 2024
1 parent 27cce9b commit 77380ea
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 17 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,6 @@ packages/chrome-devtools-patches/depot
packages/chrome-devtools-patches/devtools-frontend
packages/miniflare/dist-types/

packages/unenv-preset/runtime

fixtures/remix-pages-app/public/build
fixtures/remix-pages-app/functions/\[\[path\]\].js

Expand Down
4 changes: 2 additions & 2 deletions packages/unenv-preset/build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ export default defineBuildConfig({
},
entries: [
"src/index",
{ input: "src/runtime/", outDir: "runtime", format: "esm" },
{ input: "src/runtime/", outDir: "dist/runtime", format: "esm" },
{
input: "src/runtime/",
outDir: "runtime",
outDir: "dist/runtime",
format: "cjs",
ext: "cjs",
declaration: false,
Expand Down
8 changes: 4 additions & 4 deletions packages/unenv-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
"import": "./dist/index.mjs"
},
"./runtime/*": {
"types": "./runtime/*.d.ts",
"require": "./runtime/*.cjs",
"import": "./runtime/*.mjs"
"types": "./dist/runtime/*.d.ts",
"require": "./dist/runtime/*.cjs",
"import": "./dist/runtime/*.mjs"
}
},
"main": "./dist/index.cjs",
Expand All @@ -51,7 +51,7 @@
"wrangler": "3.95.0"
},
"peerDependencies": {
"unenv": "npm:[email protected]",
"unenv": "*",
"workerd": "^1.20241205.0"
},
"peerDependenciesMeta": {
Expand Down
1 change: 0 additions & 1 deletion packages/unenv-preset/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export { cloudflare } from "./preset";
export { env, nodeless } from "unenv";
11 changes: 3 additions & 8 deletions packages/unenv-preset/turbo.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
{
"$schema": "http://turbo.build/schema.json",
"extends": [
"//"
],
"extends": ["//"],
"tasks": {
"build": {
"outputs": [
"dist/**",
"runtime/**"
]
"outputs": ["dist/**", "runtime/**"]
}
}
}
}

0 comments on commit 77380ea

Please sign in to comment.