File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
- import type { PluginCreator } from 'tailwindcss/types/config'
1
+ import type { PluginCreator } from 'tailwindcss/types/config.js '
2
2
3
3
/**
4
4
* Tailwind plugin for hide scrollbars, although the element can still be scrolled if the element's content overflows.
@@ -35,4 +35,4 @@ const scrollbarHide: PluginCreator = ({ addUtilities }) =>
35
35
} )
36
36
37
37
// override type for v3/4 compatibility
38
- export = scrollbarHide as ( ) => void
38
+ export default scrollbarHide as ( ) => void
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
3
"moduleDetection" : " force" ,
4
- "module" : " Preserve " ,
4
+ "module" : " NodeNext " ,
5
5
"resolveJsonModule" : true ,
6
6
"allowJs" : true ,
7
7
"esModuleInterop" : true ,
8
8
"isolatedModules" : true ,
9
9
"outDir" : " dist" ,
10
- "declaration" : true
10
+ "declaration" : true ,
11
+ "moduleResolution" : " NodeNext" ,
12
+ "target" : " ES2021" ,
11
13
},
12
14
"include" : [
13
15
" src/**/*"
You can’t perform that action at this time.
0 commit comments