This repository was archived by the owner on Feb 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
- import { VARIANT_ATRULE_PATTERN } from './constants' ;
1
+ import { VARIANT_ATRULE_PATTERN } from './constants.js ' ;
2
2
3
3
function deamp ( selector : string ) {
4
4
const trimmed = selector . trim ( ) ;
Original file line number Diff line number Diff line change 1
1
import { readFileSync } from 'fs' ;
2
2
import { PluginCreator } from 'postcss' ;
3
- import { VARIANT_SELECTOR_PATTERN } from '../common/constants' ;
4
- import { createVariantsSelectors } from '../common/parse' ;
3
+ import { VARIANT_SELECTOR_PATTERN } from '../common/constants.js ' ;
4
+ import { createVariantsSelectors } from '../common/parse.js ' ;
5
5
6
6
/**
7
7
* Use your custom tailwind variants as selectors inside css files without relying on the `@apply`
Original file line number Diff line number Diff line change 6
6
CSS_FILE_PATTERN ,
7
7
CSS_IMPORT_PATTERN ,
8
8
VARIANT_SELECTOR_PATTERN
9
- } from '../common/constants' ;
10
- import { createVariantsSelectors } from '../common/parse' ;
9
+ } from '../common/constants.js ' ;
10
+ import { createVariantsSelectors } from '../common/parse.js ' ;
11
11
12
12
/**
13
13
* Use your custom tailwind variants as selectors inside css files without relying on the `@apply`
Original file line number Diff line number Diff line change 7
7
"target" : " ESNext" ,
8
8
"strict" : true ,
9
9
"outDir" : " dist" ,
10
- "moduleResolution" : " bundler " ,
10
+ "moduleResolution" : " nodenext " ,
11
11
"declarationMap" : true ,
12
- "sourceMap" : true
12
+ "sourceMap" : true ,
13
+ "module" : " NodeNext" ,
14
+ "resolveJsonModule" : true
13
15
},
14
16
"include" : [" src/**/*.ts" ]
15
17
}
You can’t perform that action at this time.
0 commit comments