Skip to content

Commit

Permalink
feat: parse ~ prefix css deps as module, else as file
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed May 4, 2015
1 parent 4e8036f commit 8ffbcd2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

---

## 1.0.0 (2015-05-04)

- feat: parse ~ prefix css deps as module, else as file

## 0.15.0 (2015-4-23)

- feat: support idleading in buildArgs
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"chalk": "^0.5.1",
"css-imports": "~0.3.0",
"debug": "~2.1.0",
"father": "~0.14.0",
"father": "~1.0.0",
"generator-support": "~0.0.1",
"glob": "~4.0.6",
"gulp-atpl": "~0.1.0",
Expand Down
2 changes: 1 addition & 1 deletion test/css.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ describe('css', function() {

it('normal', function(done) {

var origin = '@import "b";@import "./c";';
var origin = '@import "~b";@import "./c";';
var expected = '@import "b/0.1.0/index.css";@import "./c";';

var pkg = {
Expand Down

0 comments on commit 8ffbcd2

Please sign in to comment.