Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
31
Frontend-Learner/node_modules/@nuxt/cli/bin/nuxi.mjs
generated
vendored
Normal file
31
Frontend-Learner/node_modules/@nuxt/cli/bin/nuxi.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
import nodeModule from 'node:module'
|
||||
import process from 'node:process'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
|
||||
// https://nodejs.org/api/module.html#moduleenablecompilecachecachedir
|
||||
// https://github.com/nodejs/node/pull/54501
|
||||
if (nodeModule.enableCompileCache && !process.env.NODE_DISABLE_COMPILE_CACHE) {
|
||||
try {
|
||||
const { directory } = nodeModule.enableCompileCache()
|
||||
if (directory) {
|
||||
// allow child process to share the same cache directory
|
||||
process.env.NODE_COMPILE_CACHE ||= directory
|
||||
}
|
||||
}
|
||||
catch {
|
||||
// Ignore errors
|
||||
}
|
||||
}
|
||||
|
||||
globalThis.__nuxt_cli__ = {
|
||||
startTime: Date.now(),
|
||||
entry: fileURLToPath(import.meta.url),
|
||||
devEntry: fileURLToPath(new URL('../dist/dev/index.mjs', import.meta.url)),
|
||||
}
|
||||
|
||||
// eslint-disable-next-line antfu/no-top-level-await
|
||||
const { runMain } = await import('../dist/index.mjs')
|
||||
|
||||
runMain()
|
||||
Loading…
Add table
Add a link
Reference in a new issue