assets-bower-ci

2019-09-09 admin

assets-bower-ci是什么

什么是assets-bower-ci,assets-bower-ci ===============

assets-bower-ci使用教程帮助文档

assets-bower-ci

Build Status

A front-end assets management tool for php frameworks

中文版

Features

  1. only need one json config file
  2. support compress for js and css file.
  3. support dependency (but some bug #26)

Example

php

  1. run index.php in example/php folder. you will see a page which has link and script from the parsed.json
  2. change assets.json and run example.js, repeat step 1, the assets loaded changed

nginx

  1. in order to load fonts properly, you need to set CORS header for your static files, this conf file is a example. You may need to set the header in your cdn provider as well

TODO

  • [ ] Use node-config for configuration
  • [ ] Upload files to cdn server
  • [ ] Support env variables
  • [ ] refactor to make code cleaner
  • [ ] support other frameworks, like laravel, symfony.

DONE

  • [x] Use Travis CI for test.
  • [x] support different environment
  • [x] remove bower support. it’s too hard to use
  • [x] remove custom helpers, use lodash or other util libs
你可能感兴趣的文章:

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-74680.html

文章标题:assets-bower-ci

回到顶部