diff --git a/.changeset/kind-jokes-return.md b/.changeset/kind-jokes-return.md deleted file mode 100644 index 6d0257d8..00000000 --- a/.changeset/kind-jokes-return.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@inox-tools/inline-mod": patch ---- - -Add support for non-valid identifier exports diff --git a/.changeset/swift-horses-complain.md b/.changeset/swift-horses-complain.md deleted file mode 100644 index 4c5ee7ef..00000000 --- a/.changeset/swift-horses-complain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@inox-tools/inline-mod": patch ---- - -Export module definition type diff --git a/packages/inline-mod/CHANGELOG.md b/packages/inline-mod/CHANGELOG.md index e5c3c762..d6409294 100644 --- a/packages/inline-mod/CHANGELOG.md +++ b/packages/inline-mod/CHANGELOG.md @@ -1,5 +1,12 @@ # @inox-tools/inline-mod +## 1.1.2 + +### Patch Changes + +- ddae7b7: Add support for non-valid identifier exports +- 0bcfffe: Export module definition type + ## 1.1.1 ### Patch Changes diff --git a/packages/inline-mod/package.json b/packages/inline-mod/package.json index be24db5c..179660c2 100644 --- a/packages/inline-mod/package.json +++ b/packages/inline-mod/package.json @@ -1,6 +1,6 @@ { "name": "@inox-tools/inline-mod", - "version": "1.1.1", + "version": "1.1.2", "description": "Define a virtual module inline with any reference to buildtime values", "keywords": [ "vite-plugin" diff --git a/packages/inline-mod/src/vite.ts b/packages/inline-mod/src/vite.ts index d8c8968b..8312af60 100644 --- a/packages/inline-mod/src/vite.ts +++ b/packages/inline-mod/src/vite.ts @@ -28,7 +28,7 @@ function register(name: string, modInfoPromise: Promise): void { modRegistry.set(name, modInfoPromise); } -class InlineModulePluginError extends InlineModuleError { } +class InlineModulePluginError extends InlineModuleError {} export function factory(factoryFn: () => T): T { return magicFactory({