UNPKG
happypack
Version:
latest (5.0.1)
next (5.0.0-beta.4)
5.0.1
5.0.0
5.0.0-beta.4
5.0.0-beta.3
5.0.0-beta.2
5.0.0-beta.1
4.0.1
4.0.0
4.0.0-beta.5
4.0.0-beta.4
4.0.0-beta.3
4.0.0-beta.2
4.0.0-beta.1
3.1.0
3.0.3
3.0.2
3.0.1
3.0.0
2.2.1
2.2.0
2.1.3
2.1.1
2.1.0
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
webpack speed booster, makes you happy!
github.com/amireh/happypack
amireh/happypack
happypack
/
examples
/
react-redux-universal-hot-example
/
bin
/
api.js
12 lines
(11 loc)
•
273 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env node
if
(process.
env
.
NODE_ENV
!==
'production'
) {
if
(!
require
(
'piping'
)({
hook
:
true
,
ignore
:
/(\/\.|~$|\.json$)/i
})) {
return
; } }
require
(
'../server.babel'
);
// babel registration (runtime transpilation for node)
require
(
'../api/api'
);