humpty-css

Parent POM for humpty projects

Лицензия

Лицензия

Группа

Группа

co.mewf.humpty
Идентификатор

Идентификатор

humpty-css
Последняя версия

Последняя версия

0.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

humpty-css
Parent POM for humpty projects

Скачать humpty-css

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/co.mewf.humpty/humpty-css/ -->
<dependency>
    <groupId>co.mewf.humpty</groupId>
    <artifactId>humpty-css</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/co.mewf.humpty/humpty-css/
implementation 'co.mewf.humpty:humpty-css:0.1.0'
// https://jarcasting.com/artifacts/co.mewf.humpty/humpty-css/
implementation ("co.mewf.humpty:humpty-css:0.1.0")
'co.mewf.humpty:humpty-css:jar:0.1.0'
<dependency org="co.mewf.humpty" name="humpty-css" rev="0.1.0">
  <artifact name="humpty-css" type="jar" />
</dependency>
@Grapes(
@Grab(group='co.mewf.humpty', module='humpty-css', version='0.1.0')
)
libraryDependencies += "co.mewf.humpty" % "humpty-css" % "0.1.0"
[co.mewf.humpty/humpty-css "0.1.0"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
com.helger : ph-css jar 3.8.1
co.mewf.humpty : humpty jar 0.1.0

test (2)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12
org.slf4j : slf4j-nop jar 1.7.10

Модули Проекта

Данный проект не имеет модулей.

humpty-css

Provides minification and URL rewriting for CSS files in the humpty pipeline.

Installation

In Maven:

<dependency>
  <groupId>co.mewf.humpty</groupId>
  <artifactId>humpty-css</artifactId>
  <version>1.0.0-SNAPSHOT</version>
</dependency>

URL rewriting

Rewrites url imports to paths that can be served by Servlet 3's resource mechanism. For example, in Bootstrap:

src: url('../fonts/glyphicons-halflings-regular.eot');

is rewritten to

src:url('/webjars/bootstrap/3.2.0/fonts/glyphicons-halflings-regular.eot');

The latter can be served directly by a Servlet 3.0 container.

Compression

Uses an inline version of YUI Compressor to avoid dragging in YUI Compressor's JavaScript-related dependencies.

Configuration

Name

css

Options

Option Default Description
minify only in production mode Set to true or false to force minification to be always on or off, respectively
rewrite true Set to false to disable URL rewriting

Example

[options.css]
  minify = true

Версии библиотеки

Версия
0.1.0