We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents faffa06 + daf4557 commit 0163f6bCopy full SHA for 0163f6b
.changeset/tiny-coins-return.md
@@ -0,0 +1,5 @@
1
+---
2
+"@alleyinteractive/build-tool": patch
3
4
+
5
+Fix ESM import types for Webpack configs.
packages/build-tool/package.json
@@ -68,7 +68,13 @@
68
"default": "./dist/cjs/index.js"
69
}
70
},
71
- "./dist/cjs/config/webpack.config": "./dist/cjs/config/webpack.config.js",
72
- "./dist/esm/config/webpack.config": "./dist/esm/config/webpack.config.js"
+ "./dist/cjs/config/webpack.config": {
+ "types": "./dist/cjs/types/config/webpack.config.d.ts",
73
+ "default": "./dist/cjs/config/webpack.config.js"
74
+ },
75
+ "./dist/esm/config/webpack.config": {
76
+ "types": "./dist/esm/types/config/webpack.config.d.ts",
77
+ "default": "./dist/esm/config/webpack.config.js"
78
+ }
79
80
0 commit comments