mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-04 11:27:13 +00:00
373d015ae7
Co-authored-by: Daniel Roe <daniel@roe.dev>
21 lines
453 B
TypeScript
21 lines
453 B
TypeScript
import type { WebpackConfigContext } from '../utils/config'
|
|
import { applyPresets } from '../utils/config'
|
|
|
|
import { assets } from './assets'
|
|
import { base } from './base'
|
|
import { esbuild } from './esbuild'
|
|
import { pug } from './pug'
|
|
import { style } from './style'
|
|
import { vue } from './vue'
|
|
|
|
export async function nuxt (ctx: WebpackConfigContext) {
|
|
await applyPresets(ctx, [
|
|
base,
|
|
assets,
|
|
esbuild,
|
|
pug,
|
|
style,
|
|
vue,
|
|
])
|
|
}
|