24// ---------------------------------------------------------------------------
25
26▶function build() {
27 const config = require('./webpack.config');
28 return new Promise(function (resolve, reject) {
· · ·
28▶ return new Promise(function (resolve, reject) {
29 webpack(config, function (err, stats) {
30 if (err) {
· · ·
29▶ webpack(config, function (err, stats) {
30 if (err) {
31 reject(err);
· · ·
51const PORT = 3001;
52
53▶async function main() {
54 console.log('Building RSC bundle...\n');
55 await build();
· · ·
64 const AppAsync = require('./src/AppAsync.js').default;
65
66▶ function pipeStreamToRes(stream, res) {
67 if (typeof stream.pipe === 'function') {
68 // Node Readable stream
+ 26 more matches in this file