Files: 65191f9a9664f013ebe726bb95a1a54b086e1bd5 / test / test-79-npm / babel-core / babel-core.js
276 bytesRaw
1 | ; |
2 | |
3 | var fs = require('fs'); |
4 | var path = require('path'); |
5 | var babel = require('babel-core'); |
6 | var body8 = fs.readFileSync(path.join(__dirname, 'babel-core.txt'), 'utf8'); |
7 | var code = babel.transform(body8, { ast: false }).code; |
8 | if (code.length > 20) console.log('ok'); |
9 |
Built with git-ssb-web