@parcel/transformer-postcss 2.6.0 → 2.7.0
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/lib/loadConfig.js +1 -1
- package/package.json +7 -7
- package/src/loadConfig.js +8 -1
package/lib/loadConfig.js
CHANGED
|
@@ -171,7 +171,7 @@ async function load({
|
|
|
171
171
|
return;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
let configFile = await config.getConfig(['.postcssrc', '.postcssrc.json', '.postcssrc.js', 'postcss.config.js'], {
|
|
174
|
+
let configFile = await config.getConfig(['.postcssrc', '.postcssrc.json', '.postcssrc.js', '.postcssrc.cjs', 'postcss.config.js', 'postcss.config.cjs'], {
|
|
175
175
|
packageKey: 'postcss'
|
|
176
176
|
});
|
|
177
177
|
let contents = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parcel/transformer-postcss",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"source": "src/PostCSSTransformer.js",
|
|
18
18
|
"engines": {
|
|
19
19
|
"node": ">= 12.0.0",
|
|
20
|
-
"parcel": "^2.
|
|
20
|
+
"parcel": "^2.7.0"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@parcel/diagnostic": "2.
|
|
24
|
-
"@parcel/hash": "2.
|
|
25
|
-
"@parcel/plugin": "2.
|
|
26
|
-
"@parcel/utils": "2.
|
|
23
|
+
"@parcel/diagnostic": "2.7.0",
|
|
24
|
+
"@parcel/hash": "2.7.0",
|
|
25
|
+
"@parcel/plugin": "2.7.0",
|
|
26
|
+
"@parcel/utils": "2.7.0",
|
|
27
27
|
"clone": "^2.1.1",
|
|
28
28
|
"nullthrows": "^1.1.1",
|
|
29
29
|
"postcss-value-parser": "^4.2.0",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"postcss": "^8.4.5",
|
|
34
34
|
"postcss-modules": "^4.3.1"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "9e5d05586577e89991ccf90400f2c741dca11aa3"
|
|
37
37
|
}
|
package/src/loadConfig.js
CHANGED
|
@@ -160,7 +160,14 @@ export async function load({
|
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
let configFile: any = await config.getConfig(
|
|
163
|
-
[
|
|
163
|
+
[
|
|
164
|
+
'.postcssrc',
|
|
165
|
+
'.postcssrc.json',
|
|
166
|
+
'.postcssrc.js',
|
|
167
|
+
'.postcssrc.cjs',
|
|
168
|
+
'postcss.config.js',
|
|
169
|
+
'postcss.config.cjs',
|
|
170
|
+
],
|
|
164
171
|
{packageKey: 'postcss'},
|
|
165
172
|
);
|
|
166
173
|
|