всички настройки
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Източник: libplack-middleware-file-sass-perl  ]

Пакет: libplack-middleware-file-sass-perl (0.03-4.1)

Връзки за libplack-middleware-file-sass-perl

Screenshot

Ресурси за Debian:

Изтегляне на пакет-източник libplack-middleware-file-sass-perl.

Отговорници:

Външни препратки:

Подобни пакети:

Sass and SCSS support for all Plack-based PSGI frameworks

PSGI is a specification to decouple web server environments from web application framework code. Plack is an implementation of PSGI.

Plack::Middleware::File::Sass is a Plack middleware component that works with Plack::App::File or Plack::Middleware::Static to compile Sass templates into CSS stylesheet in every request.

When a request comes in for *.css* file, this middleware changes the internal path to *.sass* or *.scss*, depending on the configuration, in the same directory. If the Sass template is found, a new CSS stylesheet is built on memory and served to the browsers. Otherwise, it falls back to the original *.css* file in the directory.

This middleware should be very handy for the development. While Sass to CSS rendering is reasonably fast, for the production environment you might want to precompile Sass templates to CSS files on disk and serves them with a real web server like nginx or lighttpd.

Text::Sass provides only a limited Sass implementation, so the Ruby implementation is recommended even when Text::Sass is available.

Етикети: Software Development: Perl Development, Библиотеки, Implemented in: Пърл

Други пакети, свързани с libplack-middleware-file-sass-perl

  • зависимости
  • препоръчани
  • предложени
  • enhances

Изтегляне на libplack-middleware-file-sass-perl

Изтегляне за всички налични архитектури
Архитектура Големина на пакета Големина след инсталиране Файлове
all 12,4 кБ34,0 кБ [списък на файловете]