Permalink
Browse files

fix development asset bundling

  • Loading branch information...
1 parent 8356d92 commit fbae41ef3a1ced7b911a7aa0f96d4e26fa3088ef @sergiok committed Jun 12, 2012
Showing with 23 additions and 15 deletions.
  1. +1 −2 .npmignore
  2. +1 −1 README.md
  3. +2 −1 TODO
  4. +4 −4 package.json
  5. +15 −7 sample-assets.yml
View
@@ -1,4 +1,3 @@
.git*
examples/
-.DS_Store
-sample-assets.yml
+.DS_Store
View
@@ -1,4 +1,4 @@
-assets-bundler
+asset-bundler
==============
pack and create assets bundles for your static js and css files
View
3 TODO
@@ -1,3 +1,4 @@
TODO
- error handling
-- bundle dependencies
+- bundle dependencies
+- add old assets cleaning
View
@@ -1,12 +1,12 @@
{
"author": "Sergio Kuba <sk@skdev.me> (skdev.me)",
- "name": "assets-bundler",
+ "name": "asset-bundler",
"description": "pack and create asset bundles for your static js and css files",
- "version": "0.6.1",
- "homepage": "https://github.com/sergiok/assets-bundler",
+ "version": "0.6.2",
+ "homepage": "https://github.com/sergiok/asset-bundler",
"repository": {
"type": "git",
- "url": "git://github.com/sergiok/assets-bundler.git"
+ "url": "git://github.com/sergiok/asset-bundler.git"
},
"keywords": ["build", "assets", "css", "javascript", "minify", "builder", "compress", "package"],
"main": "./index.js",
View
@@ -6,24 +6,32 @@ config:
staticCSS: '/css'
packages:
+# home package
home:
js:
- baseDir: /test
+ baseDir: /home
sources:
- - test.js:nocompression
+ - ../core/core.js:nocompression
- file1.js
- '*'
css:
+ baseDir: /home
sources:
+ - ../reset.css
+ - ../test.css
- '*:nocompression'
- app:
+# other page package
+ otherPage:
js:
- baseDir: /app
+ baseDir: /other-page
sources:
- - app2.js
- - AppComm.js
+ - '*'
+
css:
+ baseDir: /other-page
sources:
- - reset.css
+ - ../reset.css
+ - ../test.css
+ - '*'

0 comments on commit fbae41e

Please sign in to comment.