Skip to content

Commit

Permalink
chore: update dependencies, update rollup config
Browse files Browse the repository at this point in the history
  • Loading branch information
motss committed Jul 1, 2021
1 parent b3b32d8 commit 9171a18
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
24 changes: 12 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const pluginFn = (format, minify) => {
return [
typescript({
tsconfig: './tsconfig.json',
exclude: isProd ? ['src/(demo|test)/**/*'] : [],
...('umd' === format ? { tsconfigOverride: { compilerOptions: { target: 'es5' } } } : {}),
}),
isProd && minify && terser({
Expand Down Expand Up @@ -41,6 +40,11 @@ const multiBuild = [
format: 'cjs',
exports: 'named',
},
{
file: 'dist/normalize-diacritics.js',
format: 'esm',
exports: 'named',
},
{
file: 'dist/normalize-diacritics.umd.js',
format: 'umd',
Expand Down

0 comments on commit 9171a18

Please sign in to comment.