Server failing on start up
Summary: @public When doing node <script> some es6 features like const seem to work. But when we extracted some of them into other files and require them through babels require infra it started failing because the paths where those files are located where not on the `only` whitelist. Reviewed By: @vjeux Differential Revision: D2525557 fb-gh-sync-id: 79752c4f9b8ff2d20f73cfe27d6a2f3706959d95
This commit is contained in:
parent
32b62ef055
commit
998ab1b1a4
|
@ -8,6 +8,10 @@
|
|||
*/
|
||||
'use strict';
|
||||
|
||||
require('../babelRegisterOnly')([
|
||||
/packager\/[^\/]*/
|
||||
]);
|
||||
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const childProcess = require('child_process');
|
||||
|
|
Loading…
Reference in New Issue