Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const path = require('path')
let seoConfig = require('vuefront/seo').default
const _ = require('lodash')
const ApolloClient = require('apollo-boost').default
require('isomorphic-fetch')
const ampify = require('./plugins/ampify')
export default async function vuefrontModule(_moduleOptions) {
const isNuxtVersion2 = this.options.build.transpile
const moduleOptions = { ...this.options.vuefront, ..._moduleOptions }
const theme = process.env.VUEFRONT_THEME || 'default'
const defaultPort =
process.env.API_PORT ||
process.env.PORT ||
process.env.npm_package_config_nuxt_port ||
3000