This website works better with JavaScript.
Explore
Help
Sign In
JonasFranzDEV
/
gitea
Watch
1
Star
0
Fork
You've already forked gitea
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5821
Commits
12
Branches
26
Tags
126 MiB
Tag:
Branch:
Tree:
fd09d1ffb8
bkcsoft/restore-command
bkcsoft/upgrade-drone
master
notification/issue-watch
optimize-parse-patch-read-loop
public-cleanup
release/v0.9
release/v1.0
release/v1.1
release/v1.2
release/v1.3
release/v1.4
1.4.0-rc3
v0.9.99
v1.0.0
v1.0.1
v1.0.2
v1.1.0
v1.1.1
v1.1.2
v1.1.3
v1.1.4
v1.2.0
v1.2.0-rc1
v1.2.0-rc2
v1.2.0-rc3
v1.2.1
v1.2.2
v1.2.3
v1.3.0
v1.3.0-rc1
v1.3.0-rc2
v1.3.1
v1.3.2
v1.3.3
v1.4.0-rc1
v1.4.0-rc2
v1.4.0-rc4
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'fd09d1ffb8'
${ noResults }
gitea
/
package.json
7 lines
124 B
Raw
Normal View
History
Unescape
Escape
Use standard lessc and minify CSS using Node.js (#2337) * Use standard lessc and minify CSS using Node.js This changes the previous nonstandard `lessc` to the official one and enables CSS minification via the clean-css module. To build CSS, Node.js is required along with a `npm install` to get the tools installed locally in node_modules so there is no dependency on binaries in PATH. Benefits include: - Allows one to have a standard lessc in PATH. - Can now use command line switches on lessc. - Minified CSS brings faster page load times and also has the benefit of discouraging contributors from editing CSS directly. To build CSS, Node.js is required along with a `npm install` to get the tools installed locally based on the information in `package.json`. The 'make stylesheet' task was modified to run without condition. This makes it easier to work on the make task itself without having to delete files. Also fixes: https://github.com/go-gitea/gitea/issues/2198 * install node, npm and modules on drone * .PHONY * use 'minify' to minify CSS
7 years ago
{
Compress css with nodejs (#2580)
7 years ago
"license"
:
"MIT"
,
"devDependencies"
:
{
"less"
:
"^2.7.2"
,
"less-plugin-clean-css"
:
"^1.5.1"
}
}