Skip to content

Commit

Permalink
🔥 update vue.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nicejade committed Dec 11, 2019
1 parent b8f0d77 commit 45a217b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,9 @@ const path = require('path')
const fs = require('fs')
const SizePlugin = require('size-plugin')
const PrerenderSPAPlugin = new require('prerender-spa-plugin')
const Renderer = PrerenderSPAPlugin.PuppeteerRenderer

const isProductionEnvFlag = process.env.NODE_ENV === 'production'

if (isProductionEnvFlag) {
// NOTE: 此处借助 var 变量提升,为简单兼容可用 circleci 跑 CI;
var { executablePath } = require('./arya.config.js')
}

function resolveRealPath(dir) {
return path.join(__dirname, dir)
}
Expand Down

0 comments on commit 45a217b

Please sign in to comment.