This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
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.
6053
Commits
2
Branches
178 MiB
Tree:
07b4e47a56
for-closed-social
master
Branches
Tags
${ item.name }
Create branch
${ searchTerm }
from '07b4e47a56'
${ noResults }
gitea
/
package.json
6 lines
124 B
Raw
Normal View
History
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"
}
}