Skip to content
Permalink
Browse files

fix(build): adjust umd build for IE11 compat, add umd-es2015

  • Loading branch information...
bigopon committed Feb 7, 2019
1 parent 3eda8b2 commit 0bd542ad1d96b4211c7ff272340860a8b956b289
Showing with 2 additions and 1 deletion.
  1. +2 −1 build/build.ts
@@ -33,7 +33,7 @@ const configs: Record<IBuildTargetFormat, { input: string; outputs: rollup.Outpu
outputs: [
{ file: `dist/es2015/${DIST_FILE_NAME}`, format: 'esm' },
{
file: `dist/umd/${DIST_FILE_NAME}`,
file: `dist/umd-es2015/${DIST_FILE_NAME}`,
format: 'umd',
name: 'au.i18n',
globals: {
@@ -58,6 +58,7 @@ const configs: Record<IBuildTargetFormat, { input: string; outputs: rollup.Outpu
{ file: `dist/commonjs/${DIST_FILE_NAME}`, format: 'cjs' },
{ file: `dist/amd/${DIST_FILE_NAME}`, format: 'amd', amd: { id: LIB_NAME } },
{ file: `dist/native-modules/${DIST_FILE_NAME}`, format: 'esm' },
{ file: `dist/umd/${DIST_FILE_NAME}`, format: 'umd', name: 'au.i18n' },
{ file: `dist/system/${DIST_FILE_NAME}`, format: 'system' }
]
},

0 comments on commit 0bd542a

Please sign in to comment.
You can’t perform that action at this time.