From fc6b4023e963f2afcdb6393b95b83de39fbd5c22 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 1 Nov 2022 21:42:35 +0300 Subject: `npm run start-ssr`: start server * Drop babel bootstrap script and use a bundle from esbuild --- vnext/server/bootstrap.js | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 vnext/server/bootstrap.js (limited to 'vnext/server') diff --git a/vnext/server/bootstrap.js b/vnext/server/bootstrap.js deleted file mode 100644 index 0f920886..00000000 --- a/vnext/server/bootstrap.js +++ /dev/null @@ -1,11 +0,0 @@ -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