-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
59 lines (35 loc) · 1.19 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
~~ chimney ~~ Keeps you warm.
-------------------------------------
cold? Freezing? KEEP
~YOURSELF WARM~
with a
s0othing CHIMNEY
that
‘consumes
your
logs'.
-- WHAT -
ANSI escape sequence animation of
an ASCII fire which intensity is
modulated by the amount of
(console) logs you feed into it.
-- HOW --
You could set up your chimney with
npm by doing:
$ npm install -g chimney
And then just go to your project,
and type:
$ chimney path/to/your/files
-- WAIT --
Add a chimney to your build process
to burn the logs before you minify.
chimney = require('chimney');
chimney.removeLogsForEachFiles(
function('.', function(code, f) {
// code is stripped from any
// logs.
// f is the path of the file.
});
);
-------------------------------------
Michael Sokol.