Skip to content

Commit

Permalink
patch: fixup Mime import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
broofa committed Sep 14, 2023
1 parent f3c8d42 commit 88a4add
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"exports": {
".": "./dist/src/index.js",
"./lite": "./dist/src/index_lite.js",
"./Mime": "./dist/src/Mime.js",
"./standard.js": "./dist/types/standard.js",
"./other.js": "./dist/types/other.js",
"./package.json": "./package.json"
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ import otherTypes from '../types/other.js';
import standardTypes from '../types/standard.js';
import Mime from './Mime.js';

export { default as Mime } from './Mime.js';

export default new Mime().define(standardTypes).define(otherTypes)._freeze();
2 changes: 2 additions & 0 deletions src/index_lite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ import standardTypes from '../types/standard.js';
import Mime from './Mime.js';

export default new Mime().define(standardTypes)._freeze();

export { default as Mime } from './Mime.js';

0 comments on commit 88a4add

Please sign in to comment.