diff --git a/package.json b/package.json index 367cb04..a502c5b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nextjs-toploader", - "version": "1.4.2", + "version": "1.4.3", "description": "A Next.js Top Loading Bar component made using nprogress, works with Next.js 13.", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/tsup.config.ts b/tsup.config.ts index 55f509a..ef072d4 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -1,6 +1,6 @@ import { Options } from 'tsup'; export const tsup: Options = { - target: 'esnext', + target: 'es6', clean: true, dts: true, entry: ['src/index.tsx'],