This repository was archived by the owner on Oct 24, 2023. It is now read-only.
This repository was archived by the owner on Oct 24, 2023. It is now read-only.
1 / -1
works, but 1/-1
gives syntax error (stage 0) #163
Closed
Description
Hey there! Thanks for this awesome tool 😁
I'm having a problem with grid-column
: even though grid-column: 1/-1
is valid syntax, postcss-preset-env
set to stage: 0
will crash unless we give spaces between the numbers and the slash (grid-column: 1 / -1
), giving the following error message:
ParserError: "Syntax Error at line: 1, column 3"
ParserError ParserError.js:14
value parser.js:127
value parser.js:183
value parser.js:245
value parser.js:132
value parser.js:51
getReplacedValue index.cjs.js:109
_callee49 index.cjs.js:271
walk container.es6:110
each container.es6:76
walk container.es6:107
walk container.es6:121
each container.es6:76
walk container.es6:107
_callee49 index.cjs.js:267
runtime runtime.js:62
runtime runtime.js:288
runtime runtime.js:114
asyncGeneratorStep index.cjs.js:12
_next index.cjs.js:34
iframeConsoleRunner-dc0d50e60903d6825042d06159a8d5ac69a6c0e9bcef91e3380b17617061ce0f.js:1:2025
I've tested this in the online playground, so I'm sure this is not specific to my set-up. A minimal example is the following CSS code, which will break in stage 0 (but not in 1 up):
div {
grid-column: 1/-1;
}
Let me know how I can be of help \o/
Metadata
Metadata
Assignees
Labels
No labels