summaryrefslogtreecommitdiff
path: root/webpack.common.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update RevealJS to version 3.9.2Sheogorath2020-02-011-2/+0
| | | | | | | | | | | | This update of revealJS helps us to get rid of the headjs depedency integration using webpack. It updates reveal.js to 3.9.2 and updates the csp hash accordingly for using the slide mode. Background for this update is the critical security vulnerability described by snyk in their disclosure: https://snyk.io/vuln/SNYK-JS-REVEALJS-543841 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Fix font paths when useCDN is false and no `urlPath` is presentEnrico Guiraud2020-01-151-1/+6
| | | | Signed-off-by: Enrico Guiraud <enrico.guiraud@cern.ch>
* Fix urlPath support, let CodiMD be served from a subpath correctlyEnrico Guiraud2019-12-201-1/+1
| | | | | | | | Webpack now uses relative paths for resources linked from by static snippets. A templated <base> tag has been introduced in headers so app.js can set the base URL at runtime. Signed-off-by: Enrico Guiraud <enrico.guiraud@cern.ch>
* Fix compatibility with MathJax 2.7.6David Mehren2019-10-251-1/+9
| | | | Signed-off-by: David Mehren <dmehren1@gmail.com>
* Remove sass-loader, to avoid confusionPedro Ferreira2019-05-121-12/+0
| | | | Signed-off-by: Pedro Ferreira <pedro@dete.st>
* Replace js-url with wurlSheogorath2019-04-161-3/+0
| | | | | | | | js-url is outdated and wurl is it's successor. This will fix some vulnerabilities in the dependencies and also optimize the build process by removing the external library toward internal tooling. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Remove the xss library from webpackSheogorath2018-11-101-6/+0
| | | | | | | | We can load the xss functions directly from the library instead of loading them through the expose loader of webpack, this should simplify the setup and maybe even improve speed a bit. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Code style fixes for webpack.common.jsDavid Mehren2018-10-191-9/+9
| | | | Signed-off-by: David Mehren <dmehren1@gmail.com>
* Use const instead of var in webpack configs.David Mehren2018-10-191-6/+6
| | | | Signed-off-by: David Mehren <dmehren1@gmail.com>
* Remove dead package octiconSheogorath2018-10-101-6/+3
| | | | | | | | Octicon no longer provides its CSS classes and this way is useless in CodiMD. Replacing all used classes in the UI and remove it from build system. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Use webpack-merge.David Mehren2018-10-101-0/+1
| | | | | | | | Move html export config to own file. Delete unnecessary config options. Use cheap source maps. Signed-off-by: David Mehren <dmehren1@gmail.com>
* Rename Webpack config to official recommendationDavid Mehren2018-10-101-0/+480
Signed-off-by: David Mehren <dmehren1@gmail.com>