Skip to main content
myjscss
==========

The js css combine compress cache and distribute to differnt client

Introduction
-------------

JsCssBaseService
provides combine,compress js,css by different target like mobile,pc
js config file like app.json:
{
"client": [
"mobile",
"pc"
],
"caption": "core lib",
"index": 5,
"type": "js",
"files": [
"/static/common/start.js",
"/static/common/common.js",
"/static/common/controller.js",
"/static/common/directive/directive.js",
"/static/common/filter.js"
]
}

will compress files to a single js for different target client
for example:
app.json client is mobile and pc
"/static/common/start.js" is a js relate path
when compute mobile find /static/common/start.js and /static/common/start.mobile.js two files, and combine compress it
when compute pc will find /static/common/start.js and /static/common/start.pc.js two files and combine compress it
you can define many file config like app.json

this service also cache compress lib ,you must provide cache_get(key) cachet_set(key,value)
you can define many config like app.json in one folder
config_path is your config folder path
js_path is your js file folder path js_path+'/static/common/start.js' can find your js file


css config like flex_css.json
{
"type": "css",
"client": [
"pc",
"mobile",
"admin"
],
"caption": "style lib",
"index": 18,
"files": [
"/static/common/directive/directive.css",
"/static/common/directive/templates/employee_selector.css",
"/static/common/directive/templates/department_selector.css",
"/static/common/components/base/base.scss"
]
}

Documentation
-------------

License
-------

myjscss is distributed under the `MIT license
<http://www.opensource.org/licenses/mit-license.php>`_.

Release files for myjscss 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for myjscss 1.0.6
File Size Uploaded
myjscss-1.0.6.tar.gz 4.9 kB Details

Release files / myjscss-1.0.6.tar.gz

Download URL myjscss-1.0.6.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0ba0cbfa318ec10f8c641ae25680b4ea5016e0b3bd8c86b9d05dd6259fbc0c6e
BLAKE2b-256 checksum
How to use checksums
9f09c5981ca590ffd79fe7f95c9d12181508352c0c207f90562866816f7f11b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.6 This release

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page