mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-18 06:31:27 +00:00
20 lines
402 B
TypeScript
20 lines
402 B
TypeScript
|
import { WebpackConfigContext, 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 function nuxt (ctx: WebpackConfigContext) {
|
||
|
applyPresets(ctx, [
|
||
|
base,
|
||
|
assets,
|
||
|
esbuild,
|
||
|
pug,
|
||
|
style,
|
||
|
vue
|
||
|
])
|
||
|
}
|