fix: build config
This commit is contained in:
parent
9e824a4958
commit
342438f2a7
2 changed files with 4 additions and 2 deletions
|
|
@ -9,7 +9,8 @@ rollup
|
|||
plugins: [
|
||||
async(),
|
||||
replace({
|
||||
__VERSION__: process.env.VERSION || require('../package.json').version
|
||||
__VERSION__: process.env.VERSION || require('../package.json').version,
|
||||
'process.env.SSR': true
|
||||
}),
|
||||
buble({
|
||||
transforms: {
|
||||
|
|
|
|||
|
|
@ -18,7 +18,8 @@ var build = function (opts) {
|
|||
commonjs(),
|
||||
nodeResolve(),
|
||||
replace({
|
||||
__VERSION__: version
|
||||
__VERSION__: version,
|
||||
'process.env.SSR': false
|
||||
})
|
||||
])
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue