Skip to content

Commit

Permalink
Fix ESM export
Browse files Browse the repository at this point in the history
  • Loading branch information
7PH committed Jan 21, 2024
1 parent e6e73eb commit 40eee7b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "beautify-url",
"version": "0.2.0",
"version": "0.2.1",
"description": "Opinionated library that transforms your URLs into shorter, more aesthetic forms without compromising their functionality or security",
"type": "module",
"main": "./lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import beautifyUrl from '.';
import beautifyUrl from './index';

describe('protocol', () => {
it('drop https', () => {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "ES2015",
"module": "commonjs",
"module": "ESNext",
"outDir": "lib",
"strict": true,
"esModuleInterop": true,
Expand Down

0 comments on commit 40eee7b

Please sign in to comment.