diff options
author | Vitaly Takmazov | 2022-10-28 00:14:01 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:58 +0300 |
commit | 40d411e516efee5531404725b45ab89d97172ce8 (patch) | |
tree | d675e93fc52ef50a40343219e1b992867964d3bf /vnext/server/bootstrap.js | |
parent | 2146a98bd98b7e275a0ee7bc7a243981b597f34c (diff) |
Initial SSR
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'); |