https://correctiv.org/sanctions-tracker
the github action builds csv data that is served via github-pages and then loaded by the datawrapper charts in the article.
as well there is a little js script that injects the newest numbers into the page.
the frontend build is based on:
A lightweight foundation for your next webpack based frontend project.
npm install
npm start
npm run build
- ES6 Support via babel (v7)
- JavaScript Linting via eslint
- SASS Support via sass-loader
- Autoprefixing of browserspecific CSS rules via postcss and postcss-preset-env
- Style Linting via stylelint
When you run npm run build
we use the mini-css-extract-plugin to move the css to a separate file. The css file gets included in the head of the index.html
.