Skip to content

Commit

Permalink
Merge pull request #24 from hyoretsu/master
Browse files Browse the repository at this point in the history
Target ES6 when building, to support older browsers
  • Loading branch information
TheSGJ authored Oct 16, 2023
2 parents ac233a3 + 1661592 commit e75c04a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Options } from 'tsup';
export const tsup: Options = {
target: 'esnext',
target: 'es6',
clean: true,
dts: true,
entry: ['src/index.tsx'],
Expand Down

0 comments on commit e75c04a

Please sign in to comment.