Author | SHA1 | Message | Date |
---|---|---|---|
|
81a62c0a97 |
Update JS dependencies (#9255)
This is the result of `make npm-update`. I also fixed a minor linting issue which came up with the eslint 6.7 update. |
5 years ago |
|
6ad1df06db |
move semantic.dropdown.custom.js to webpack (#9064)
* move semantic.dropdown.custom.js to webpack Also disabled a annoying linter rule which insisted that imports can not contain a file extension. Fixes: https://github.com/go-gitea/gitea/issues/8971 * reorganize web_src files and rebuild * restart ci |
5 years ago |
|
cde2836f55 |
enable lazy-loading of gitgraph.js (#9036)
- moved gitgraph.js to web_src and made it importable and es6-compatible - created new webpack chunk for gitgraph - enabled CSS loader in webpack - enabled async/await syntax via regenerator-runtime - added script to ensure webpack chunks are loaded correctly - disable terser's comment extraction to prevent .LICENCE files gitgraph.js has many issues: 1. it is incompatible with ES6 because of strict-mode violations 1. it does not export anything 1. it's css has weird styles like for `body` 1. it is not available on npm I fixed points 1-3 in our version so it's now loadable in webpack. We should eventually consider alternatives. |
5 years ago |