summaryrefslogtreecommitdiff
path: root/webpack.prod.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use esbuild to minify frontend JSDavid Mehren2021-05-061-1/+9
| | | | | | This speeds up build times massively Signed-off-by: David Mehren <git@herrmehren.de>
* Use named import for webpack-mergeDavid Mehren2021-02-121-1/+1
| | | | Signed-off-by: David Mehren <git@herrmehren.de>
* 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>
* Use webpack-merge.David Mehren2018-10-101-71/+19
| | | | | | | | 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/+75
Signed-off-by: David Mehren <dmehren1@gmail.com>