diff options
author | 2022-10-30 01:51:42 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:58 +0300 | |
commit | 657af5906ed50acc9bacea487ac22b6c9c961571 (patch) | |
tree | 9804a63b7aa897fa2fec782b99a76f2e3f4f272b /vnext/server/bootstrap.js | |
parent | 62f9875418444274c8aa3785ea913677c203e840 (diff) |
Read static root from the config
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'); |