2022-12-11 21:44:52 +00:00
|
|
|
import type { WebpackConfigContext } from '../utils/config'
|
|
|
|
import { applyPresets } from '../utils/config'
|
2020-09-02 12:27:27 +00:00
|
|
|
|
|
|
|
import { assets } from './assets'
|
|
|
|
import { base } from './base'
|
|
|
|
import { esbuild } from './esbuild'
|
|
|
|
import { pug } from './pug'
|
|
|
|
import { style } from './style'
|
|
|
|
import { vue } from './vue'
|
|
|
|
|
2024-07-02 18:28:48 +00:00
|
|
|
export async function nuxt (ctx: WebpackConfigContext) {
|
|
|
|
await applyPresets(ctx, [
|
2020-09-02 12:27:27 +00:00
|
|
|
base,
|
|
|
|
assets,
|
|
|
|
esbuild,
|
|
|
|
pug,
|
|
|
|
style,
|
2024-04-05 18:08:32 +00:00
|
|
|
vue,
|
2020-09-02 12:27:27 +00:00
|
|
|
])
|
|
|
|
}
|