Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
require calling hook directly
  • Loading branch information
vojtatranta committed Jan 9, 2016
commit 6c48a741768772e69812d3c8253997f011fca9f4
3 changes: 0 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import assign from 'lodash.assign';
import debug from 'debug';
import hook from './hook';
import identity from 'lodash.identity';
import extractor from './extractor';
import { readFileSync } from 'fs';
Expand Down Expand Up @@ -83,5 +82,3 @@ function fetch(to, from) {

return tokens;
}

hook(filename => fetch(filename, filename), '.css');