Patch Changes
-
#56
5b865ae
Thanks @taishinaritomi! - release 0.3.1refactor: rename inject to helper
// excss.config.ts import { defineConfig } from "excss/config"; export default defineConfig({ - inject: ``, + helper: ``, });
feat: support for excss.config.ts
// excss.config.ts +import { defineConfig } from "excss/config"; + +export default defineConfig({ + helper: ``, +});
feat: integrated variants field into helper field
// excss.config.ts +import { variants } from "excss/config"; +export default defineConfig({ - variants: { - red: "#ff0000", - }, helper: ` + ${variants({ + red: "#ff0000", + })} `, +});
feat: change export method for plugins from named export to default export
-import { Excss } from "excss/vite"; +import Excss from "excss/vite"; -import { ExcssPlugin } from "excss/webpack"; +import ExcssPlugin from "excss/webpack"; -import { createExcss } from "excss/next"; +import createExcss from "excss/next";
-
Updated dependencies [
5b865ae
]:- @excss/compiler@0.3.1