diff options
author | silverwind <me@silverwind.io> | 2020-01-28 08:30:39 +0100 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2020-01-28 07:30:39 +0000 |
commit | 1019913eaba0e8ad3a67174a1a13c673ee832406 (patch) | |
tree | 9190e22de87a7c8537bd1e31e18a41b2cedd2f18 /CONTRIBUTING.md | |
parent | 4377e14304f3cbc39fece64bafad1778bfdf04d4 (diff) | |
download | gitea-1019913eaba0e8ad3a67174a1a13c673ee832406.tar.gz gitea-1019913eaba0e8ad3a67174a1a13c673ee832406.zip |
move CSS build to webpack (#9983)
- added new 'make webpack' target
- deprecated 'make js' and 'make css'
- extend webpack config to load the less files
- updated docs
I had to rename the source file of `arc-green.less` to avoid generating
a useless JS entrypoint via webpack-fix-style-only-entries which would
not work with different source/destination filenames. I hear that there
should be cleaner solutions possible once we upgrade to Webpack 5.
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r-- | CONTRIBUTING.md | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4601522970..48d072d880 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -114,15 +114,7 @@ included in the next released version. ## Building Gitea -Generally, the go build tools are installed as-needed in the `Makefile`. -An exception are the tools to build the CSS, JS and images. - -- To build CSS and JS: Install [Node.js](https://nodejs.org/en/download/package-manager) at version 10.0 or above - with `npm` and then run `npm install`, `make css` and `make js`. -- To build Images: ImageMagick, inkscape and zopflipng binaries must be - available in your `PATH` to run `make generate-images`. - -For more details on how to generate files, build and test Gitea, see the [hacking instructions](https://docs.gitea.io/en-us/hacking-on-gitea/) +See the [hacking instructions](https://docs.gitea.io/en-us/hacking-on-gitea/). ## Code review |