From 54da8327ab20cd79eabe91acc50a2a215a8478b0 Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Sat, 26 May 2018 22:41:18 +0200 Subject: [PATCH] chore: add debug bootstrap entry point for debugging and profiling --- .npmignore | 1 + debug/bootstrap.js | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 debug/bootstrap.js diff --git a/.npmignore b/.npmignore index d04eea190..57006392b 100644 --- a/.npmignore +++ b/.npmignore @@ -26,4 +26,5 @@ wiki/ jestEnvironment.js jest.e2e.config.js jest.config.js +debug/ diff --git a/debug/bootstrap.js b/debug/bootstrap.js new file mode 100644 index 000000000..9b6c1bffe --- /dev/null +++ b/debug/bootstrap.js @@ -0,0 +1,4 @@ +// this file aims to help local debugging with hot transpilation +// it requires BABEL_ENV=registry set as env variable +require('babel-register')(); +require('../src/lib/cli');