Skip to content

Commit

Permalink
feat(build): make rollupOutputOptions and rollupPluginVueOptions
Browse files Browse the repository at this point in the history
…overridable (#1117)
  • Loading branch information
frandiox authored Nov 24, 2020
1 parent 6d51de7 commit 39bdd45
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/node/build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -679,8 +679,8 @@ export async function ssrBuild(
outDir: 'dist-ssr',
...options,
rollupPluginVueOptions: {
...rollupPluginVueOptions,
target: 'node'
target: 'node',
...rollupPluginVueOptions
},
rollupInputOptions: {
...rollupInputOptions,
Expand All @@ -689,12 +689,12 @@ export async function ssrBuild(
)
},
rollupOutputOptions: {
...rollupOutputOptions,
format: 'cjs',
exports: 'named',
entryFileNames: '[name].js',
// 764 add `Symbol.toStringTag` when build es module into cjs chunk
namespaceToStringTag: true
namespaceToStringTag: true,
...rollupOutputOptions
},
emitIndex: false,
emitAssets: false,
Expand Down

0 comments on commit 39bdd45

Please sign in to comment.