Nuxt/packages/webpack/src/presets/nuxt.ts

21 lines
440 B
TypeScript
Raw Normal View History

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'
export function nuxt (ctx: WebpackConfigContext) {
applyPresets(ctx, [
base,
assets,
esbuild,
pug,
style,
vue
])
}