·
16 commits
to master
since this release
Minor Changes
-
#1614
4e92cceThanks @askoufis! - Add newgetAllCssAPIThe
Compilerclass now provides agetAllCssmethod that returns all the CSS currently stored by the compiler.EXAMPLE USAGE:
import { createCompiler } from '@vanilla-extract/compiler'; const compiler = createCompiler({ root: process.cwd() }); await compiler.processVanillaFile('foo.css.ts'); await compiler.processVanillaFile('bar.css.ts'); // Contains all CSS created by `foo.css.ts` and `bar.css.ts` const allCss = compiler.getAllCss();