chore: import as file
This commit is contained in:
parent
749a4e90d5
commit
d918d476f1
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ import {
|
||||||
prerender,
|
prerender,
|
||||||
} from 'nitropack'
|
} from 'nitropack'
|
||||||
import { fileURLToPath } from 'node:url'
|
import { fileURLToPath } from 'node:url'
|
||||||
import { nitroConfig as mcflyNitroConfig } from '@mcflyjs/core/runtime'
|
import { nitroConfig as mcflyNitroConfig } from '../../runtime/nitro-config.js'
|
||||||
|
|
||||||
async function _build(args) {
|
async function _build(args) {
|
||||||
consola.start('Building project...')
|
consola.start('Building project...')
|
||||||
|
|
|
@ -15,7 +15,7 @@ import { resolve } from 'pathe'
|
||||||
import { loadConfig } from 'c12'
|
import { loadConfig } from 'c12'
|
||||||
import { fileURLToPath } from 'node:url'
|
import { fileURLToPath } from 'node:url'
|
||||||
import { dirname } from 'pathe'
|
import { dirname } from 'pathe'
|
||||||
import { nitroConfig as mcflyNitroConfig } from '@mcflyjs/core/runtime'
|
import { nitroConfig as mcflyNitroConfig } from '../../runtime/nitro-config.js'
|
||||||
|
|
||||||
const hmrKeyRe = /^runtimeConfig\.|routeRules\./
|
const hmrKeyRe = /^runtimeConfig\.|routeRules\./
|
||||||
const __filename = fileURLToPath(import.meta.url)
|
const __filename = fileURLToPath(import.meta.url)
|
||||||
|
|
Loading…
Reference in a new issue