From 657af5906ed50acc9bacea487ac22b6c9c961571 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 30 Oct 2022 01:51:42 +0300 Subject: Read static root from the config --- vnext/server/bootstrap.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 vnext/server/bootstrap.js (limited to 'vnext/server/bootstrap.js') 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'); -- cgit v1.2.3