SFDigitalServices / formio-sfds

The form.io theme for sf.gov
https://formio-sfds.herokuapp.com/
MIT License
15 stars 2 forks source link

Release tweaks #172

Closed shawnbot closed 3 years ago

shawnbot commented 3 years ago

A couple of random knob twiddles for #164:

  1. The debug option now defaults to false in production. In other words, you should see a lot less console logging from our theme in production unless you pass "debug": true in the form render options.
  2. The "common" CSS bundle used to render the Vercel site (i.e. not on sf.gov) no longer includes the design system stylesheets that were removed from sf.gov a long time ago.
vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/sfds/formio-sfds/qd5p5nu3h
✅ Preview: https://formio-sfds-git-tweaks.sfds.vercel.app

github-actions[bot] commented 3 years ago

Size Change: -29 B (0%)

Total Size: 87 kB

Filename Size Change
dist/common.css 297 B -35 B (-11%) 👏
dist/formio-sfds.standalone.js 67.1 kB +6 B (0%)
ℹī¸ View Unchanged | Filename | Size | Change | | :--- | :---: | :---: | | `dist/formio-sfds.css` | 14.3 kB | 0 B | | `dist/portal.js` | 5.36 kB | 0 B |

compressed-size-action