Skip to content
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.

Remove builds in favor of zero-config #87

Merged
merged 6 commits into from Jul 25, 2019
Merged

Remove builds in favor of zero-config #87

merged 6 commits into from Jul 25, 2019

Conversation

styfle
Copy link
Member

@styfle styfle commented Jul 25, 2019

  • removed builds from now.json
  • moved backend logic into /api directory
  • move frontend logic into /web directory
  • updated build script to copy frontend build outputs into /public directory
  • renamed types.d.ts to types.ts and import instead of relying on globals
  • renamed .fonts to fonts so its not hidden, this was never needed

I am unable to remove routes from now.json due because all non-static files need to be routed to the API, for example https://og-image.now.sh/Hello.png

@styfle styfle requested review from leo and AndyBitz July 25, 2019 14:45
@vercel
Copy link

vercel bot commented Jul 25, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Latest deployment for this branch: https://og-image-git-zero-config.zeit.sh

@vercel vercel bot temporarily deployed to staging July 25, 2019 16:05 Inactive
@styfle styfle merged commit d05a271 into master Jul 25, 2019
@styfle styfle deleted the zero-config branch July 25, 2019 16:35
noahflk pushed a commit to noahflk/og-image that referenced this pull request Apr 15, 2021
* Remove builds in favor of zero-config

* Rename types from .d.ts to .ts and import

* Fix types

* Fix web build to use separate tsconfig.json

* Rename web/browser.ts to web/index.ts

* Move fonts
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants