@plumeria/webpack-plugin 0.28.1 → 0.29.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/dist/create.js CHANGED
@@ -78,8 +78,7 @@ function compileToSingleCSS(object) {
78
78
  });
79
79
  });
80
80
  const baseLayer = baseSheets.length > 0 ? `@layer base {\n${baseSheets.join('')}}` : '';
81
- const queryLayer = querySheets.length > 0 ? `@layer queries {\n${querySheets.join('')}}` : '';
82
- return [baseLayer, queryLayer].filter(Boolean).join('\n');
81
+ return [baseLayer, ...querySheets].filter(Boolean).join('\n');
83
82
  }
84
83
  function createCSS(object) {
85
84
  const compiledCSS = compileToSingleCSS(object);
package/dist/index.js CHANGED
@@ -41,6 +41,7 @@ class PlumeriaPlugin {
41
41
  const updatedStyles = {
42
42
  ...prev,
43
43
  ...styles,
44
+ lastAccessed: Date.now(),
44
45
  };
45
46
  this.stylesByFile.set(absPath, updatedStyles);
46
47
  this.writeCSS();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/webpack-plugin",
3
- "version": "0.28.1",
3
+ "version": "0.29.0",
4
4
  "description": "Plumeria Webpack plugin",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,7 +23,7 @@
23
23
  "devDependencies": {
24
24
  "@types/babel__core": "^7.20.5",
25
25
  "webpack": "^5.101.0",
26
- "zss-engine": "^0.2.99"
26
+ "zss-engine": "^0.2.100"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public",