File tree 2 files changed +15
-4
lines changed
2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 4
4
"description" : " Standard ESLint config for the Sapphire Community" ,
5
5
"author" : " @sapphire" ,
6
6
"license" : " MIT" ,
7
- "main" : " dist/index.js" ,
7
+ "main" : " dist/cjs/index.cjs" ,
8
+ "module" : " dist/esm/index.mjs" ,
8
9
"exports" : {
9
- "import" : " ./dist/index.js" ,
10
- "require" : " ./dist/index.js"
10
+ "import" : {
11
+ "default" : " ./dist/esm/index.mjs"
12
+ },
13
+ "require" : {
14
+ "default" : " ./dist/cjs/index.cjs"
15
+ }
11
16
},
12
17
"sideEffects" : false ,
13
18
"homepage" : " https://github.com/sapphiredev/utilities/tree/main/packages/eslint-config" ,
Original file line number Diff line number Diff line change
1
+ import { Options } from 'tsup' ;
1
2
import { createTsupConfig } from '../../scripts/tsup.config' ;
2
3
3
- export default createTsupConfig ( { format : [ 'cjs' ] , sourcemap : false , dts : false } ) ;
4
+ const options : Options = {
5
+ sourcemap : false ,
6
+ dts : false
7
+ } ;
8
+
9
+ export default createTsupConfig ( options , options , { disabled : true } ) ;
You can’t perform that action at this time.
0 commit comments