@akryum/vue-cli-plugin-ssr
Version:
Turn your app into an isomorphic SSR app!
30 lines (29 loc) • 704 B
JavaScript
module.exports = {
api: null,
service: null,
port: null,
host: null,
clustered: false,
shouldNotPrefetch: [],
shouldNotPreload: [],
entry: target => `./src/entry-${target}`,
defaultTitle: 'My app',
favicon: './public/favicon.ico',
criticalCSS: true,
skipRequests: req => req.originalUrl === '/graphql',
nodeExternalsWhitelist: [/\.css$/, /\?vue&type=style/],
applyDefaultServer: true,
extendContext: null,
extendServer: null,
staticCacheTtl: 1000 * 60 * 60 * 24 * 30,
directives: {},
lruCacheOptions: {},
copyUrlOnStart: true,
onRender: null,
onError: null,
// Paths
distPath: null,
error500Html: null,
templatePath: null,
serviceWorkerPath: null,
}