Skip to content

Commit

Permalink
Update build config
Browse files Browse the repository at this point in the history
  • Loading branch information
ClassicOldSong committed Sep 5, 2017
1 parent 0192633 commit b57334e
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions config/rollup.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,12 @@ const {input, name, plugins, proPath, bundle} = base

const config = {
input,
output: [
{
name,
file: `${proPath}/${bundle}.full.js`,
format: 'umd',
sourcemap: true
},
{
name,
file: `${proPath}/${bundle}.js`,
format: 'iife',
sourcemap: true
},
{
name,
file: `${proPath}/${bundle}.common.js`,
format: 'cjs',
sourcemap: true
}
],
output: {
name,
file: `${proPath}/${bundle}.js`,
format: 'umd',
sourcemap: true
},
plugins,
external: ['ef-core'],
globals: {
Expand Down

0 comments on commit b57334e

Please sign in to comment.