chore: default outName to _nuxt.js

This commit is contained in:
Pooya Parsa 2020-11-06 12:38:53 +01:00
parent ce71ec1347
commit c99abd06ab

View File

@ -51,7 +51,7 @@ export function getoptions (nuxtOptions: NuxtOptions): SLSOptions {
fullStatic: nuxtOptions.target === 'static' && !nuxtOptions._legacyGenerate,
// @ts-ignore
staticAssets: nuxtOptions.generate.staticAssets,
outName: 'server.js',
outName: '_nuxt.js',
runtimeDir: resolve(__dirname, '../runtime'),
static: [],
nuxt: 2,