diff --git a/src/index.ts b/src/index.ts index 4d0d73b..b70f8a8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,4 @@ -import { integration as htaccessIntegration } from "./htaccess"; -export type { Config as HtaccessConfig, RedirectCode, ErrorCode } from "./htaccess"; +import { integration as htaccessIntegration } from "./htaccess.js"; +export type { Config as HtaccessConfig, RedirectCode, ErrorCode } from "./htaccess.d.ts"; export { htaccessIntegration }; export default htaccessIntegration; diff --git a/tsconfig.json b/tsconfig.json index a28be93..cb4bd96 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,7 @@ "compilerOptions": { "outDir": "./dist", "target": "ES2022", + "moduleResolution": "bundler", "declaration": true, "stripInternal": true, "skipLibCheck": true,