Commit f43ee38
fix(chrome-extension): add .js extension to ESM imports (#987)
When the package is built with "type": "module" in package.json, Node.js ESM
resolution requires explicit file extensions for relative imports. Without the
.js extension, imports fail with 'Cannot find module' error.
This change ensures proper module resolution in ESM environments.
Co-authored-by: sgyy <shangguan@topick.ai>1 parent d35adea commit f43ee38
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments