@mui/internal-babel-plugin-resolve-imports 2.0.7-canary.3 → 2.0.7-canary.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -39,7 +39,7 @@ function pathToNodeImportSpecifier(importPath) {
|
|
|
39
39
|
module.exports = function plugin({ types: t }, { outExtension }) {
|
|
40
40
|
/** @type {Map<string, string>} */
|
|
41
41
|
const cache = new Map();
|
|
42
|
-
const extensions = ['.
|
|
42
|
+
const extensions = ['.mjs', '.js', '.mts', '.ts', '.jsx', '.tsx'];
|
|
43
43
|
const extensionsSet = new Set(extensions);
|
|
44
44
|
|
|
45
45
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/internal-babel-plugin-resolve-imports",
|
|
3
|
-
"version": "2.0.7-canary.
|
|
3
|
+
"version": "2.0.7-canary.4",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "Babel plugin that resolves import specifiers to their actual output file.",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -33,6 +33,6 @@
|
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
|
-
"gitSha": "
|
|
36
|
+
"gitSha": "a36c83e4367e3853bcb9be6573622752bfcf5228",
|
|
37
37
|
"scripts": {}
|
|
38
38
|
}
|