Skip to content

Commit

Permalink
Fixed esm import
Browse files Browse the repository at this point in the history
  • Loading branch information
kmalakoff committed Feb 18, 2024
1 parent f554b57 commit e32c867
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dist/cjs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ _export(exports, {
return _default;
}
});
var _FSIterator = /*#__PURE__*/ _interop_require_default(require("./FSIterator"));
var _PathStack = /*#__PURE__*/ _interop_require_default(require("./PathStack"));
var _FSIterator = /*#__PURE__*/ _interop_require_default(require("./FSIterator.js"));
var _PathStack = /*#__PURE__*/ _interop_require_default(require("./PathStack.js"));
function _interop_require_default(obj) {
return obj && obj.__esModule ? obj : {
default: obj
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/index.js.map

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

4 changes: 2 additions & 2 deletions dist/esm/index.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import FSIterator from './FSIterator';
import FSIterator from './FSIterator.mjs';
export default FSIterator;
export { default as PathStack } from './PathStack';
export { default as PathStack } from './PathStack.mjs';
2 changes: 1 addition & 1 deletion dist/esm/index.mjs.map

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

2 changes: 2 additions & 0 deletions dist/types/index.d.mts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export default FSIterator;
export { default as PathStack } from "./PathStack.mjs";
import FSIterator from './FSIterator.mjs';
4 changes: 2 additions & 2 deletions src/index.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import FSIterator from './FSIterator';
import FSIterator from './FSIterator.mjs';
export default FSIterator;
export { default as PathStack } from './PathStack';
export { default as PathStack } from './PathStack.mjs';

0 comments on commit e32c867

Please sign in to comment.