a66a0824a27b7b9af1b0d436670d3ef90b4da3d0
Use PostCSS function from browser vendors to generate fallback color defs for when OKLCH isn't supported (#2770)
.PHONY: all
all: install check build
\# ```
# INSTALL
``` :
ifeq ($(OS),Windows_NT)
export WINDOWS := true
ifndef MSYSTEM
export POWERSHELL := true
endif
endif
``` :
``` :
ifdef WINDOWS
CARGO ?= $(USERPROFILE)/.cargo/bin/cargo.exe
WASM_PACK ?= $(USERPROFILE)/.cargo/bin/wasm-pack.exe
else
CARGO ?= $(shell which cargo || echo ~/.cargo/bin/cargo)
WASM_PACK ?= $(shell which wasm-pack || echo ~/.cargo/bin/wasm-pack)
endif
``` :
``` :
.PHONY: install
``` :
### Install dependencies
``` :
install: node_modules/.package-lock.json $(CARGO) $(WASM_PACK)
``` :
``` :
node_modules/.package-lock.json: package.json package-lock.json
npm prune
npm install
``` :
``` :
$(CARGO):
ifdef WINDOWS
npm run install:rust:windows
else
npm run install:rust
endif
``` :
``` :
$(WASM_PACK):
ifdef WINDOWS
npm run install:wasm-pack:cargo
else
npm run install:wasm-pack:sh
endif
``` :
Languages
TypeScript
64.3%
Rust
34.8%
CSS
0.4%
Python
0.1%
JavaScript
0.1%