An extension of the plone.resource plone:static zcml directive, that allows to specify two folders for a resource directory registration: A dev-directory and a dist-directory. When plone is running in debug mode the filesystem path specified in dev-directory is used to serve static resources for this resource registration. The dist-directory is used when not in debug mode. This allows to use tools like grunt to build production versions of resources, including minification, concatenation, image minification, etc.
Project description
An extension of the plone.resource plone:static zcml directive, that allows to specify two folders for a resource directory registration: A dev-directory and a dist-directory. When plone is running in debug mode the filesystem path specified in dev-directory is used to serve static resources for this resource registration. The dist-directory is used when not in debug mode. This allows to use tools like grunt to build production versions of resources, including minification, concatenation, image minification, etc.
Examples
Changelog
0.1 (2015-07-05)
Initial release. [sunew]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file collective.dualresources-0.1.zip
.
File metadata
- Download URL: collective.dualresources-0.1.zip
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e98c45419f2915c6086285e51f29f9467d662755051f5a43a7e27863bc8ede15 |
|
MD5 | 2236eb4379ca91590ceb6772865b85c8 |
|
BLAKE2b-256 | 19c5ee3e3a9d3455a69cba5e233e5061247cc600a80a3e612609ef75407a17cd |