Skip to content

Commit ea13dbe

Browse files
committed
chore: correct folder
1 parent 749bb85 commit ea13dbe

File tree

3 files changed

+6
-29
lines changed

3 files changed

+6
-29
lines changed

package-lock.json

Lines changed: 0 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
},
1818
"./tools": {
1919
"import": {
20-
"types": "./dist/esm/tools.d.ts",
21-
"default": "./dist/esm/tools.js"
20+
"types": "./dist/esm/tools/index.d.ts",
21+
"default": "./dist/esm/tools/index.js"
2222
},
2323
"require": {
24-
"types": "./dist/cjs/tools.d.ts",
25-
"default": "./dist/cjs/tools.js"
24+
"types": "./dist/cjs/tools/index.d.ts",
25+
"default": "./dist/cjs/tools/index.js"
2626
}
2727
}
2828
},

tests/integration/build.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ const projectRoot = path.resolve(currentDir, "../..");
1111
const esmPath = path.resolve(projectRoot, "dist/esm/lib.js");
1212
const cjsPath = path.resolve(projectRoot, "dist/cjs/lib.js");
1313

14-
const esmToolsPath = path.resolve(projectRoot, "dist/esm/tools.js");
15-
const cjsToolsPath = path.resolve(projectRoot, "dist/cjs/tools.js");
14+
const esmToolsPath = path.resolve(projectRoot, "dist/esm/tools/index.js");
15+
const cjsToolsPath = path.resolve(projectRoot, "dist/cjs/tools/index.js");
1616

1717
describe("Build Test", () => {
1818
it("should successfully require CommonJS module", () => {

0 commit comments

Comments
 (0)