Stijnus
1c561a0615
feat: bolt dyi preview final ( #1569 )
...
* V1
## [Unreleased] - 2025-03-28
### ✅ Fixed
- Fixed deployment errors on Cloudflare Pages caused by:
- Missing or outdated `compatibility_date` and `compatibility_flags` in `wrangler.toml`
- Use of Node.js built-ins (`crypto`, `stream`) in functions without proper polyfilling
- Invalid Wrangler CLI options (`--log-level`) used during deployment
- Type error when importing the Remix server build
### 🛠 Changed
- `wrangler.toml` updated:
```toml
name = "bolt"
compatibility_date = "2025-03-28"
compatibility_flags = ["nodejs_compat"]
pages_build_output_dir = "./build/client"
send_metrics = false
```
- `functions/[[path]].ts` updated:
```ts
import type { ServerBuild } from '@remix-run/cloudflare';
import { createPagesFunctionHandler } from '@remix-run/cloudflare-pages';
import * as serverBuild from '../build/server';
export const onRequest = createPagesFunctionHandler({
build: serverBuild as unknown as ServerBuild,
});
```
### 🚀 Deployment
- Successful deployment to:
- Preview: https://979e2ca9.bolt-55b.pages.dev
- Production: https://main.bolt-55b.pages.dev
* V1
## [Unreleased] - 2025-03-28
### ✅ Fixed
- Fixed deployment errors on Cloudflare Pages caused by:
- Missing or outdated `compatibility_date` and `compatibility_flags` in `wrangler.toml`
- Use of Node.js built-ins (`crypto`, `stream`) in functions without proper polyfilling
- Invalid Wrangler CLI options (`--log-level`) used during deployment
- Type error when importing the Remix server build
### 🛠 Changed
- `wrangler.toml` updated:
```toml
name = "bolt"
compatibility_date = "2025-03-28"
compatibility_flags = ["nodejs_compat"]
pages_build_output_dir = "./build/client"
send_metrics = false
```
- `functions/[[path]].ts` updated:
```ts
import type { ServerBuild } from '@remix-run/cloudflare';
import { createPagesFunctionHandler } from '@remix-run/cloudflare-pages';
import * as serverBuild from '../build/server';
export const onRequest = createPagesFunctionHandler({
build: serverBuild as unknown as ServerBuild,
});
```
### 🚀 Deployment
- Successful deployment to:
- Preview: https://979e2ca9.bolt-55b.pages.dev
- Production: https://main.bolt-55b.pages.dev
* feat: small bugfix
* Update Preview.tsx
2025-03-29 20:57:41 +01:00
Stijnus
48f4999f32
Update Preview.tsx
2025-01-18 21:45:29 +01:00
Stijnus
b732f20233
bug fix for Open preview in a new tab.
2025-01-18 19:25:01 +01:00
Stijnus
87ff81035f
feat: added the "Open Preview in a New Tab" ( #1101 )
...
* added the "Open Preview in a New Tab"
* enhancement
[Open Preview] [▼] // Two buttons side by side
|
+-- [Mobile (375x667)] // Dropdown menu
|-- [Tablet (768x1024)]
|-- [Laptop (1366x768)]
+-- [Desktop (1920x1080)]
* Update Preview.tsx
* Update Preview.tsx
2025-01-18 01:55:44 +05:30
Ed McConnell
6ffcdd8b3c
merge main into image
2024-12-13 21:22:12 -05:00
Ed McConnell
4cfabd94ee
merged main
2024-12-13 20:49:33 -05:00
Ed McConnell
7fdab0ad6a
Second commit for screen cap feature
2024-12-05 17:31:47 -05:00
Ed McConnell
8b7e18e627
Initial commit for screen cap feature
2024-12-05 17:30:45 -05:00
eduardruzga
b6eef57ab3
Lint fix
2024-12-05 12:17:12 +02:00
JonathanGardner
a8903cec11
Added Fullscreen and Resizing to Preview
2024-12-05 04:23:16 -05:00
Sam Denty
6fb59d2bc5
fix: remove monorepo
2024-09-25 19:54:09 +01:00