File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 99 " postcss-assign-layer"
1010 ],
1111 "scripts" : {
12- "build" : " tsup src/index.ts --format esm,cjs --dts" ,
12+ "build" : " tsup src/index.ts --format esm,cjs --dts --cjsInterop --splitting " ,
1313 "test" : " vitest run --coverage && eslint ." ,
1414 "test:watch" : " vitest" ,
1515 "prepublishOnly" : " pnpm build && pnpm test"
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ import path from "node:path";
33import postcss from "postcss" ;
44import prettier from "prettier" ;
55import { describe , it , expect } from "vitest" ;
6- import { plugin , type PluginOptions } from "./index" ;
6+ import type { PluginOptions } from "./index" ;
7+ import plugin from "./index" ;
78
89// We don't care about formatting differences, so normalize with prettier
910function format ( css : string ) {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ type ConfigItem = {
1010} ;
1111export type PluginOptions = ConfigItem [ ] ;
1212
13- export const plugin : PluginCreator < PluginOptions > = (
13+ const plugin : PluginCreator < PluginOptions > = (
1414 configItems = [
1515 {
1616 include : DEFAULT_INCLUDE ,
You can’t perform that action at this time.
0 commit comments