Commit d048f1b1 authored by Pooya Parsa's avatar Pooya Parsa

move firebase to common chunk

parent fc7cfbe5
...@@ -2,7 +2,11 @@ module.exports = { ...@@ -2,7 +2,11 @@ module.exports = {
build: { build: {
extend (config, { isClient }) { extend (config, { isClient }) {
config.resolve.alias['create-api'] = `./create-api-${isClient ? 'client' : 'server'}.js` config.resolve.alias['create-api'] = `./create-api-${isClient ? 'client' : 'server'}.js`
} },
vendor: [
'firebase',
'promise-polyfill'
]
}, },
head: { head: {
titleTemplate: 'Nuxt HN | %s', titleTemplate: 'Nuxt HN | %s',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment