Skip to content

Releases: garthenweb/parcel-plugin-css-modules-type-generator

v1.2.0

06 Nov 23:47
Compare
Choose a tag to compare
  • [d0f42ba, adbc006, 586f847] allow to use this plugin with parcel (before only parcel-bundler was supported) (#6)
  • [f6fe25a] run tests for nodejs v12 and v13, remove v11

v1.1.0

07 Apr 14:21
Compare
Choose a tag to compare
  • [1b515fc] respect Postcss modules camelCase flag (#3).

Please be aware that this version will rewrite all .d.ts into a new schema, therefore updating to this version will result in a bigger diff (in case you commit .d.ts files to version control).
The change is required because the old style was not compatible with none camel case variable definitions. Anyhow, the Typescript definitions are compatible, therefore this is considered not to be a breaking change.

// .d.ts file in version 1.0.x
export const myCSSClass: string;

// .d.ts file in version 1.1.x
declare const styles: {
  readonly "myCSSClass": string;
};
export = styles;

v1.0.2

12 Mar 23:04
Compare
Choose a tag to compare

v1.0.1

09 Mar 10:37
Compare
Choose a tag to compare
  • [42ef38a] remove warning for node v11 and higher (#1)
  • [5eb2cdc] remove unused files from bundle