@parcel/transformer-css 2.8.1 → 2.8.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.
@@ -285,6 +285,10 @@ var _default = new (_plugin().Transformer)({
285
285
  d = `dep_${c++}`;
286
286
  depjs += `import * as ${d} from ${JSON.stringify(ref.specifier)};\n`;
287
287
  dependencies.set(ref.specifier, d);
288
+ asset.addDependency({
289
+ specifier: ref.specifier,
290
+ specifierType: 'esm'
291
+ });
288
292
  }
289
293
 
290
294
  s += '${' + `${d}[${JSON.stringify(ref.name)}]` + '}';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/transformer-css",
3
- "version": "2.8.1",
3
+ "version": "2.8.3",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -17,16 +17,16 @@
17
17
  "source": "src/CSSTransformer.js",
18
18
  "engines": {
19
19
  "node": ">= 12.0.0",
20
- "parcel": "^2.8.1"
20
+ "parcel": "^2.8.3"
21
21
  },
22
22
  "dependencies": {
23
- "@parcel/diagnostic": "2.8.1",
24
- "@parcel/plugin": "2.8.1",
23
+ "@parcel/diagnostic": "2.8.3",
24
+ "@parcel/plugin": "2.8.3",
25
25
  "@parcel/source-map": "^2.1.1",
26
- "@parcel/utils": "2.8.1",
26
+ "@parcel/utils": "2.8.3",
27
27
  "browserslist": "^4.6.6",
28
28
  "lightningcss": "^1.16.1",
29
29
  "nullthrows": "^1.1.1"
30
30
  },
31
- "gitHead": "f8d3fc30ca5b33d8f8674525f2a741d662c5986a"
31
+ "gitHead": "349a6caf40ec8abb6a49fcae0765f8f8deb2073d"
32
32
  }
@@ -222,6 +222,10 @@ export default (new Transformer({
222
222
  ref.specifier,
223
223
  )};\n`;
224
224
  dependencies.set(ref.specifier, d);
225
+ asset.addDependency({
226
+ specifier: ref.specifier,
227
+ specifierType: 'esm',
228
+ });
225
229
  }
226
230
  s += '${' + `${d}[${JSON.stringify(ref.name)}]` + '}';
227
231
  }