diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 864a77b..3e4747a 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -33,7 +33,13 @@ jobs: - run: bun run build - - uses: cloudflare/wrangler-action@v3 + - run: ls -la + + - run: ls -la ./build/client + + - name: deploy + uses: cloudflare/pages-action@v1 with: + directory: "./build/client" apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} diff --git a/app/root.tsx b/app/root.tsx index 322b9a1..d3a3616 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -7,7 +7,7 @@ import { } from "@remix-run/react"; import type { LinksFunction } from "@remix-run/node"; -import baselineStylesHref from "@phoenix-ui/baseline/compiled/baseline.css"; +import baselineStylesHref from "@phoenix-ui/baseline/compiled/baseline.css?url"; export const links: LinksFunction = () => [ { rel: "stylesheet", href: baselineStylesHref }, diff --git a/bun.lockb b/bun.lockb index 2575d44..700ca92 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index f5a3e27..03fe613 100644 --- a/package.json +++ b/package.json @@ -38,9 +38,11 @@ "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", + "autoprefixer": "^10.4.19", "node-fetch": "^3.3.2", "typescript": "^5.1.6", "vite": "^5.1.0", + "postcss": "^8.4.3", "tailwindcss": "^3.4.1", "vite-tsconfig-paths": "^4.2.1", "wrangler": "^3.48.0" diff --git a/remix.conf.js b/remix.conf.js new file mode 100644 index 0000000..e8a2c0c --- /dev/null +++ b/remix.conf.js @@ -0,0 +1,9 @@ +/** @type {import('@remix-run/dev').AppConfig} */ +export default { + ignoredRouteFiles: ["**/*.css"], + // appDirectory: "app", + // assetsBuildDirectory: "public/build", + // publicPath: "/build/", + // serverBuildPath: "build/index.js", + serverDependenciesToBundle: [/^@phoenix-ui\//], +};