@mui/codemod 7.0.0-beta.1 → 7.0.0-beta.3
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/codemod.js +3 -3
- package/package.json +1 -1
package/codemod.js
CHANGED
|
@@ -17,8 +17,8 @@ async function runJscodeshiftTransform(transform, files, flags, codemodFlags) {
|
|
|
17
17
|
const paths = [
|
|
18
18
|
path.resolve(__dirname, './src', `${transform}/index.js`),
|
|
19
19
|
path.resolve(__dirname, './src', `${transform}.js`),
|
|
20
|
-
path.resolve(__dirname, './
|
|
21
|
-
path.resolve(__dirname, './
|
|
20
|
+
path.resolve(__dirname, './', `${transform}/index.js`),
|
|
21
|
+
path.resolve(__dirname, './', `${transform}.js`),
|
|
22
22
|
];
|
|
23
23
|
|
|
24
24
|
let transformerPath;
|
|
@@ -107,7 +107,7 @@ async function runPostcssTransform(transform, files) {
|
|
|
107
107
|
// local postcss plugins are loaded through config files https://github.com/postcss/postcss-load-config/issues/17#issuecomment-253125559
|
|
108
108
|
const paths = [
|
|
109
109
|
path.resolve(__dirname, './src', `${transform}/postcss.config.js`),
|
|
110
|
-
path.resolve(__dirname, './
|
|
110
|
+
path.resolve(__dirname, './', `${transform}/postcss.config.js`),
|
|
111
111
|
];
|
|
112
112
|
|
|
113
113
|
let configPath;
|