Skip to content

Commit

Permalink
No map files for unminified bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
Glen Van Ginkel committed Oct 9, 2020
1 parent befee25 commit 2f2d479
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@metrichor/jmespath",
"description": "Typescript implementation of the JMESPath spec (100% compliant)",
"version": "0.1.6",
"version": "0.1.7",
"author": {
"name": "Oxford Nanopore Technologies",
"email": "[email protected]",
Expand Down
4 changes: 2 additions & 2 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ const libraryName = 'jmespath';
export default {
input: `src/index.ts`,
output: [
{ file: pkg.main, name: libraryName, format: 'umd', exports: 'named', sourcemap: true },
{ file: pkg.main, name: libraryName, format: 'umd', exports: 'named', sourcemap: false },
{ file: pkg.main.replace('umd.js', 'umd.min.js'), name: libraryName, format: 'umd', exports: 'named', sourcemap: true, plugins: [terser()] },
{ file: pkg.module, format: 'esm', exports: 'named', sourcemap: true },
{ file: pkg.module, format: 'esm', exports: 'named', sourcemap: false },
{ file: pkg.module.replace('esm.js', 'esm.min.js'), format: 'esm', exports: 'named', sourcemap: true, plugins: [terser()] },
],
// Indicate here external modules you don't wanna include in your bundle (i.e.: 'lodash')
Expand Down

0 comments on commit 2f2d479

Please sign in to comment.