mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-07 09:22:27 +00:00
21 lines
416 B
TypeScript
21 lines
416 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,
|
|
// babel,
|
|
esbuild,
|
|
pug,
|
|
style,
|
|
vue
|
|
])
|
|
}
|