diff options
Diffstat (limited to 'vnext/server/bootstrap.js')
-rw-r--r-- | vnext/server/bootstrap.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vnext/server/bootstrap.js b/vnext/server/bootstrap.js new file mode 100644 index 00000000..0f920886 --- /dev/null +++ b/vnext/server/bootstrap.js @@ -0,0 +1,11 @@ +require('ignore-styles'); +require('url-loader'); +require('file-loader'); +require('@babel/register')({ + ignore: [/(node_modules)/], + presets: [ + '@babel/preset-env', + ['@babel/preset-react', { 'runtime': 'automatic' }] + ] +}); +require('./index'); |