@@ -9,6 +9,14 @@ Object {
9
9
}
10
10
` ;
11
11
12
+ exports [` utils / cssSnapshots with baseUrl and paths in compilerOptions sass should find the files 1` ] = `
13
+ Object {
14
+ " big-font" : " tsconfig-paths-module__big-font---3FOK9" ,
15
+ " class-with-mixin" : " tsconfig-paths-module__class-with-mixin---Uo34z" ,
16
+ " public-module" : " tsconfig-paths-module__public-module---2IHe1" ,
17
+ }
18
+ ` ;
19
+
12
20
exports [` utils / cssSnapshots with file 'empty.module.less' createExports should create an exports file 1` ] = `
13
21
"declare let classes: {
14
22
@@ -105,12 +113,12 @@ exports[`utils / cssSnapshots with file 'import.module.css' createExports should
105
113
' nestedChild' : string ;
106
114
} ;
107
115
export default classes;
108
- export const classA: string;
109
- export const ClassB: string;
110
- export const parent: string;
111
- export const childA: string;
112
- export const childB: string;
113
- export const nestedChild: string;
116
+ export let classA: string;
117
+ export let ClassB: string;
118
+ export let parent: string;
119
+ export let childA: string;
120
+ export let childB: string;
121
+ export let nestedChild: string;
114
122
"
115
123
` ;
116
124
@@ -140,12 +148,12 @@ declare let classes: {
140
148
' nestedChild' : string ;
141
149
} ;
142
150
export default classes;
143
- export const classA: string;
144
- export const ClassB: string;
145
- export const parent: string;
146
- export const childA: string;
147
- export const childB: string;
148
- export const nestedChild: string;
151
+ export let classA: string;
152
+ export let ClassB: string;
153
+ export let parent: string;
154
+ export let childA: string;
155
+ export let childB: string;
156
+ export let nestedChild: string;
149
157
150
158
export const __cssModule: true;
151
159
export type AllClassNames = 'classA' | 'ClassB' | 'class-c' | 'class_d' | 'parent' | 'childA' | 'childB' | 'nestedChild';"
@@ -217,9 +225,9 @@ exports[`utils / cssSnapshots with file 'import.module.styl' createExports shoul
217
225
' inside-2-name-1' : string ;
218
226
} ;
219
227
export default classes;
220
- export const foo: string;
221
- export const bar: string;
222
- export const baz: string;
228
+ export let foo: string;
229
+ export let bar: string;
230
+ export let baz: string;
223
231
"
224
232
` ;
225
233
@@ -253,9 +261,9 @@ declare let classes: {
253
261
' inside-2-name-1' : string ;
254
262
} ;
255
263
export default classes;
256
- export const foo: string;
257
- export const bar: string;
258
- export const baz: string;
264
+ export let foo: string;
265
+ export let bar: string;
266
+ export let baz: string;
259
267
260
268
export const __cssModule: true;
261
269
export type AllClassNames = 'foo' | 'bar' | 'baz' | 'col-1' | 'col-2' | 'col-3' | 'local-class-1' | 'inside-local' | 'inside-1-name-2' | 'inside-2-name-1';"
@@ -273,12 +281,12 @@ exports[`utils / cssSnapshots with file 'test.module.css' createExports should c
273
281
' nestedChild' : string ;
274
282
} ;
275
283
export default classes;
276
- export const classA: string;
277
- export const ClassB: string;
278
- export const parent: string;
279
- export const childA: string;
280
- export const childB: string;
281
- export const nestedChild: string;
284
+ export let classA: string;
285
+ export let ClassB: string;
286
+ export let parent: string;
287
+ export let childA: string;
288
+ export let childB: string;
289
+ export let nestedChild: string;
282
290
"
283
291
` ;
284
292
@@ -308,12 +316,12 @@ declare let classes: {
308
316
' nestedChild' : string ;
309
317
} ;
310
318
export default classes;
311
- export const classA: string;
312
- export const ClassB: string;
313
- export const parent: string;
314
- export const childA: string;
315
- export const childB: string;
316
- export const nestedChild: string;
319
+ export let classA: string;
320
+ export let ClassB: string;
321
+ export let parent: string;
322
+ export let childA: string;
323
+ export let childB: string;
324
+ export let nestedChild: string;
317
325
318
326
export const __cssModule: true;
319
327
export type AllClassNames = 'classA' | 'ClassB' | 'class-c' | 'class_d' | 'parent' | 'childA' | 'childB' | 'nestedChild';"
@@ -549,9 +557,9 @@ exports[`utils / cssSnapshots with file 'test.module.styl' createExports should
549
557
' inside-2-name-1' : string ;
550
558
} ;
551
559
export default classes;
552
- export const foo: string;
553
- export const bar: string;
554
- export const baz: string;
560
+ export let foo: string;
561
+ export let bar: string;
562
+ export let baz: string;
555
563
"
556
564
` ;
557
565
@@ -585,9 +593,9 @@ declare let classes: {
585
593
' inside-2-name-1' : string ;
586
594
} ;
587
595
export default classes;
588
- export const foo: string;
589
- export const bar: string;
590
- export const baz: string;
596
+ export let foo: string;
597
+ export let bar: string;
598
+ export let baz: string;
591
599
592
600
export const __cssModule: true;
593
601
export type AllClassNames = 'foo' | 'bar' | 'baz' | 'col-1' | 'col-2' | 'col-3' | 'local-class-1' | 'inside-local' | 'inside-1-name-2' | 'inside-2-name-1';"
0 commit comments