Files
dealplustech/node_modules/css-tree/lib/syntax/node/Layer.js
Kunthawat Greethong 6562a1748f fix: Fix product page syntax errors
1. Remove duplicate/broken code in product tables section
2. Fix PostCSS config for Tailwind 4
3. Add @tailwindcss/postcss dependency
4. Remove --production flag from Dockerfile (sharp required)

All fixes enable successful Docker build with favicon working.
2026-03-03 14:57:46 +07:00

29 lines
582 B
JavaScript

import { Ident, Delim } from '../../tokenizer/index.js';
const FULLSTOP = 0x002E; // U+002E FULL STOP (.)
export const name = 'Layer';
export const structure = {
name: String
};
export function parse() {
let tokenStart = this.tokenStart;
let name = this.consume(Ident);
while (this.isDelim(FULLSTOP)) {
this.eat(Delim);
name += '.' + this.consume(Ident);
}
return {
type: 'Layer',
loc: this.getLocation(tokenStart, this.tokenStart),
name
};
}
export function generate(node) {
this.tokenize(node.name);
}