The frontend for the app version of https://copythat.io
yarn devto dev
yarn buildto build into
yarn startto run the build
nowto deploy (runs automatically from master branch of this github repo)
- Write your post in markdown
- Add it as a
/pages/postswith the name of the file matching the url of the post.
- Add a
.tsxfile with the same name and add meta data and export a react component to render using the content from the MDX file. Meta is typed to help you. See other posts for examples.
Analysing bundle size
yarn analysebuilds an html file that will open automatically in your browser to visualise your dependencies (uses Webpack Bundle Analyzer).
- There is also a stats file generated at