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 /.drone.yml | |
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 '.drone.yml')
-rw-r--r-- | .drone.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml index 716e7b1d59..5796ad503a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,7 +15,7 @@ steps: pull: always image: node:10 # this step is kept at the lowest version of node that we support commands: - - make css js + - make webpack - name: build-without-gcc pull: always |