@thejaredwilcurt/csslop 0.0.14 → 0.0.15

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@thejaredwilcurt/csslop",
3
3
  "main": "index.js",
4
4
  "type": "module",
5
- "version": "0.0.14",
5
+ "version": "0.0.15",
6
6
  "description": "Experimental CSS minification",
7
7
  "scripts": {
8
8
  "prestart": "node ./scripts/prestart.js",
@@ -269,6 +269,9 @@ function normalizeBoundaryPositionTokens (mergedStops) {
269
269
  if (isLastStop && positionTokens[positionTokens.length - 1] === '100%') {
270
270
  positionTokens.pop();
271
271
  }
272
+ if (isLastStop && positionTokens.length === 1 && positionTokens[0] === '100%') {
273
+ positionTokens.pop();
274
+ }
272
275
  if (positionTokens.length > 0 && positionTokens[0] === previousEndPosition) {
273
276
  positionTokens[0] = '0';
274
277
  }