@plumeria/turbopack-loader 16.4.0 → 16.4.1

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1790,7 +1790,7 @@ async function loader(source) {
1790
1790
  }
1791
1791
  }
1792
1792
  if (hasNewRule || isThemeCSS) {
1793
- const nextCss = Array.from(ruleSet).join('\n\n') + '\n';
1793
+ const nextCss = (0, utils_1.orderMediaLast)(Array.from(ruleSet)).join('\n\n') + '\n';
1794
1794
  fs.writeFileSync(VIRTUAL_FILE_PATH, nextCss, 'utf-8');
1795
1795
  lastValidCss = nextCss;
1796
1796
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/turbopack-loader",
3
- "version": "16.4.0",
3
+ "version": "16.4.1",
4
4
  "description": "Plumeria Turbopack-loader",
5
5
  "author": "Refirst 11",
6
6
  "license": "MIT",
@@ -22,7 +22,7 @@
22
22
  "zero-virtual.css"
23
23
  ],
24
24
  "dependencies": {
25
- "@plumeria/utils": "^16.4.0"
25
+ "@plumeria/utils": "^16.4.1"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@swc/core": "1.15.43",