@parcel/transformer-stylus 2.8.0 → 2.8.2

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.
@@ -118,7 +118,7 @@ var _default = new (_plugin().Transformer)({
118
118
  });
119
119
 
120
120
  if (configFile) {
121
- let isJavascript = _path().default.extname(configFile.filePath) === '.js';
121
+ let isJavascript = _path().default.extname(configFile.filePath).endsWith('js');
122
122
 
123
123
  if (isJavascript) {
124
124
  config.invalidateOnStartup();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/transformer-stylus",
3
- "version": "2.8.0",
3
+ "version": "2.8.2",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -17,12 +17,12 @@
17
17
  "source": "src/StylusTransformer.js",
18
18
  "engines": {
19
19
  "node": ">= 12.0.0",
20
- "parcel": "^2.8.0"
20
+ "parcel": "^2.8.2"
21
21
  },
22
22
  "dependencies": {
23
- "@parcel/plugin": "2.8.0",
24
- "@parcel/utils": "2.8.0",
23
+ "@parcel/plugin": "2.8.2",
24
+ "@parcel/utils": "2.8.2",
25
25
  "stylus": "^0.55.0"
26
26
  },
27
- "gitHead": "c3bbe0a6160186f496ca2f9e9bead9376c0522f1"
27
+ "gitHead": "3437f64e4c6f57d911614c480b742e229149f200"
28
28
  }
@@ -23,7 +23,7 @@ export default (new Transformer({
23
23
  );
24
24
 
25
25
  if (configFile) {
26
- let isJavascript = path.extname(configFile.filePath) === '.js';
26
+ let isJavascript = path.extname(configFile.filePath).endsWith('js');
27
27
  if (isJavascript) {
28
28
  config.invalidateOnStartup();
29
29
  }