aboutsummaryrefslogtreecommitdiffstats
path: root/next.config.js
Commit message (Collapse)AuthorAgeFilesLines
* chore: use a different configuration depending on app envArmand Philippot2022-03-041-2/+7
| | | | | | It will be useful with Docker. Instead of cloning the project with a different configuration, I can manage two different configuration thanks to dotenv and some checking inside the app.
* feat: use Docker in production (#12)Armand Philippot2022-02-251-0/+1
| | | | | | | | | | | * build: add experimental feature outputStandalone With this option, Next.js can create a standalone folder with the necessary files for a production deployment. It will be useful for Docker deployment. * chore: add Docker configuration * docs: update README with Docker instructions
* fix: allow Ackee domain in CSP connect-srcArmand Philippot2022-02-221-2/+2
|
* chore: update CSPArmand Philippot2022-02-221-2/+3
|
* feat: replace Matomo with AckeeArmand Philippot2022-02-211-9/+9
| | | | | I do not use all Matomo features so I was searching a lightweight analytics tools. I will give a try to Ackee.
* fix: update content security policy (#5)Armand Philippot2022-02-161-4/+4
| | | | | It seems Matomo need to be declared at least in connect-src in addition to script-src. See: https://fr.matomo.org/faq/general/faq_20904/
* fix: typo in CSPArmand Philippot2022-02-161-2/+2
|
* feat: add HTTP security headersArmand Philippot2022-02-151-2/+75
| | | | | I also renamed and changed the format of some environment variables so I can reuse them inside the CSP security header.
* build: remove the no-parser config for formatjsArmand Philippot2022-02-121-5/+0
| | | | | | | I don't know if I misunderstand the purpose of no-parser but I can't get it to work with strings containing a variable or plurals. They are always fallback to the english message. So I decided to disable this config.
* build(deps): add bundle analyzer to examine bundle sizes on buildArmand Philippot2022-02-021-1/+5
|
* build(deps): remove linguiArmand Philippot2022-01-291-4/+0
|
* build: configure webpack to use react-intl without parserArmand Philippot2022-01-291-1/+6
|
* fix: handle translation with linguiArmand Philippot2022-01-281-2/+1
| | | | | | | | The previous method was not working so I tried a different approach. Translation is loaded but I'm still getting warnings: * Plurals for locale undefined aren't loaded * Text content did not match I can't figure how to fix them...
* chore: add scroll restoration for posts listArmand Philippot2022-01-181-0/+3
| | | | | | It would be nice to restore focus as well, but it seems I can not retrieve which posts was click on history back. I should find an alternative later.
* chore: add a redirection from /feed to /feed.xmlArmand Philippot2022-01-131-0/+8
|
* build(webpack): allow PDF importArmand Philippot2022-01-101-0/+4
|
* build: configure next to use mdx filesArmand Philippot2021-12-241-1/+11
|
* chore: display featuredImage and meta on posts listArmand Philippot2021-12-161-0/+5
|
* build: remove powered by headerArmand Philippot2021-12-131-0/+1
|
* build: add sass configArmand Philippot2021-12-121-0/+7
|
* build: configure svgr to use svg as componentsArmand Philippot2021-12-121-4/+30
|
* build: configure lingui js for i18nArmand Philippot2021-12-121-1/+15
|
* chore: initial commitArmand Philippot2021-12-121-0/+4