Skip to content

Commit

Permalink
🐛 Add missing extension to import/export statements
Browse files Browse the repository at this point in the history
A package with type: module requires extensions in the imports to
fully resolve them (tested with Webpack 5). We can simply use the .js
extension even in .ts files, tsc understands it (even though this looks
really weird).
  • Loading branch information
sergei-maertens committed May 2, 2024
1 parent 35506a6 commit 5aa52d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export {loadCookieGroups, showCookieBar} from './cookiebar';
export {loadCookieGroups, showCookieBar} from './cookiebar.js';

0 comments on commit 5aa52d0

Please sign in to comment.