π Source code for kacperfaber.pl. π
Written with β€ in TypeScript and React
git clone https://www.github.com/kacperfaber/kacperfaber-app && cd kacperfaber-app
Setup project
npm ci
Run locally
# Run developer profile with default configuration.
# Default configuration is defined in webpack.config.dev.js
npm run run-dev
First we have to run default TypeScript compilation.
npx tsc
Make bundle using webpack
# specify 'env' parameters to configure links.
# $ github: Url to github profile
# $ twitter: Url to twitter profile
# $ stackoverflow: Url to stackoverflow profile
# $ emailTo: Contact email address, must start with mailto.
# $ contactEmail: Contact email will be rendered under the 'Kacper Faber'
npx webpack --config webpack.config.prod.js
If env parameter is not specified, link won't be rendered by React.
Folder ./www is ready to be published.
Kacper Faber