Skip to content
This repository was archived by the owner on Dec 26, 2018. It is now read-only.

Commit 6046289

Browse files
paulpflugyyx990803
authored andcommitted
Only require babel when used (#82)
1 parent d8e5614 commit 6046289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/compilers/babel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
var options = require('./options')
2-
var babel = require('babel-core')
32

43
module.exports = function (raw, cb) {
54
try {
5+
var babel = require('babel-core')
66
var res = babel.transform(raw, options.babel || {})
77
} catch (err) {
88
return cb(err)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy