File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
packages/tailwindcss/src/compat Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -3,16 +3,12 @@ import { compile as coreCompile } from '..'
3
3
import plugin from '../plugin'
4
4
import { optimizeCss } from '../test-utils/run'
5
5
import defaultTheme from './default-theme'
6
- import type { CssInJs , PluginAPI , PluginWithConfig } from './plugin-api'
6
+ import type { CssInJs , Plugin , PluginAPI } from './plugin-api'
7
7
8
8
const css = String . raw
9
9
10
10
// TODO: Expand the API changes into the tests below
11
- function compile (
12
- css : string ,
13
- base : string ,
14
- { loadPlugin } : { loadPlugin : ( ) => Promise < PluginWithConfig > } ,
15
- ) {
11
+ function compile ( css : string , base : string , { loadPlugin } : { loadPlugin : ( ) => Promise < Plugin > } ) {
16
12
return coreCompile ( css , base , {
17
13
async loadModule ( id , base ) {
18
14
let plugin = await loadPlugin ( )
You can’t perform that action at this time.
0 commit comments