One Hat Cyber Team
Your IP :
3.15.187.189
Server IP :
104.21.112.1
Server :
Linux agrigation-prod 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64
Server Software :
nginx/1.24.0
PHP Version :
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
forge
/
staging.gftag.com
/
node_modules
/
vite
/
Edit File:
index.cjs
/* eslint-disable no-restricted-globals */ // type utils module.exports.defineConfig = (config) => config // proxy cjs utils (sync functions) Object.assign(module.exports, require('./dist/node-cjs/publicUtils.cjs')) // async functions, can be redirect from ESM build const asyncFunctions = [ 'build', 'createServer', 'preview', 'transformWithEsbuild', 'resolveConfig', 'optimizeDeps', 'formatPostcssSourceMap', 'loadConfigFromFile', 'preprocessCSS', ] asyncFunctions.forEach((name) => { module.exports[name] = (...args) => import('./dist/node/index.js').then((i) => i[name](...args)) }) // some sync functions are marked not supported due to their complexity and uncommon usage const unsupportedCJS = ['resolvePackageEntry', 'resolvePackageData'] unsupportedCJS.forEach((name) => { module.exports[name] = () => { throw new Error( `"${name}" is not supported in CJS build of Vite 4.\nPlease use ESM or dynamic imports \`const { ${name} } = await import('vite')\`.`, ) } })
Simpan