The global problem of Mini Program's front-end use of promise,regeneratorRuntime

how to add regeneratorRuntime attributes globally on global objects, I now have to manually refer to third-party libraries
const regeneratorRuntime = global.regeneratorRuntime = require (".. /.. / vendor/runtime.js")

on every page.
Dec.07,2021

app.js:global.regeneratorRuntime = require ('. / utils/regenerator/runtime-module')
other pages js:const {regeneratorRuntime} = global
this eliminates the need for every page to require, the optimized volume

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e445df-44ab8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e445df-44ab8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?