Skip to content

Commit aeb685b

Browse files
committed
Merge branch 'release/2.7.0' into develop
2 parents 423ecc7 + 022adcc commit aeb685b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typescript-plugin-css-modules",
3-
"version": "2.5.0",
3+
"version": "2.7.0",
44
"main": "lib/index.js",
55
"author": "Brody McKee <[email protected]>",
66
"license": "MIT",

src/helpers/createExports.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const NOT_CAMELCASE_REGEXP = /[\-_]/;
88

99
const classNameToProperty = (className: string) => `'${className}': string;`;
1010
const classNameToNamedExport = (className: string) =>
11-
`export const ${className}: string;`;
11+
`export let ${className}: string;`;
1212

1313
const flattenClassNames = (
1414
previousValue: string[] = [],

0 commit comments

Comments
 (0)