Skip to content

Commit

Permalink
fix: rollup configuration (#835)
Browse files Browse the repository at this point in the history
This is a full refactoring of the rollup configuration to speed up builds, simplify the configuration prevent warnings and fix an error with the generated source maps.

In detail:
 - refactor: Combine the three non-esm outputs into a single configuration.

 - feat: Enabled source-maps for all build outputs.

 - fix: Use a separate TypeScript configuration (`tsconfig.build.json`) during build. This configuration only compiles the required typescript files and doesn't reproduce the directory structure in the dist-folder (see also the change in package.json). It also now generates source maps correctly (#834).

 - chore: Moved `fast-deep-equal` from dependencies to devDependencies. It is a very small function, and it has always been bundled in all of our outputs, so it's not actually required at runtime. This will be changed in the next major release.

 fixes #834 3436cc0
  • Loading branch information
googlemaps-bot committed Jun 26, 2024
1 parent 2267d48 commit e7e3ad7
Show file tree
Hide file tree
Showing 15 changed files with 43 additions and 41 deletions.
36 changes: 18 additions & 18 deletions classes/Loader.html

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/e2e/selenium.test.d.ts

This file was deleted.

File renamed without changes.
1 change: 1 addition & 0 deletions dist/index.dev.js

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

1 change: 1 addition & 0 deletions dist/index.dev.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/index.min.js

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

1 change: 1 addition & 0 deletions dist/index.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.mjs.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.umd.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/src/index.test.d.ts

This file was deleted.

4 changes: 2 additions & 2 deletions enums/LoaderStatus.html

Large diffs are not rendered by default.

Loading

0 comments on commit e7e3ad7

Please sign in to comment.