diff --git a/package.json b/package.json index 1f6625f..184fb6e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@rolemodel/turbo-confirm", "type": "module", - "version": "2.0.0", + "version": "2.0.1", "description": "Drop-in upgrade for Rails' data-turbo-confirm feature to support custom HTML dialogs.", "main": "src/index.js", "directories": { diff --git a/src/index.js b/src/index.js index ead8a01..5531846 100644 --- a/src/index.js +++ b/src/index.js @@ -1,5 +1,5 @@ import { dispatch, TurboConfirmError } from './lib/utils.js' -import { TurboConfirm } from './lib/TurboConfirm' +import { TurboConfirm } from './lib/TurboConfirm.js' const start = (options) => { const tc = new TurboConfirm(options) diff --git a/src/lib/TurboConfirm.js b/src/lib/TurboConfirm.js index 84223ca..23ab3c2 100644 --- a/src/lib/TurboConfirm.js +++ b/src/lib/TurboConfirm.js @@ -1,4 +1,4 @@ -import ConfirmationController from './ConfirmationController' +import ConfirmationController from './ConfirmationController.js' export class TurboConfirm { #controller