color-picker icon indicating copy to clipboard operation
color-picker copied to clipboard

Nothing exported on 0.12.x

Open sapandiwakar opened this issue 1 year ago • 1 comments

It seems that version 0.12.x doesn't export anything.

import ColorPicker from '@yaireo/color-picker';

raises Attempted import error: '@yaireo/color-picker' does not contain a default export.

import * as ColorPicker from '@yaireo/color-picker';

does not raise any errors but ColorPicker is just an empty object {} and does not contain any exports.

0.11.0 works fine.

For the record, the build system in use was esbuild and I have tried both with node 18.15.0 and 20.5.0 (I understand that 20 is incompatible with the engines defined in package.json).

sapandiwakar avatar Jan 17 '24 08:01 sapandiwakar

I will take a look

yairEO avatar Jan 18 '24 09:01 yairEO

Fixed https://github.com/yairEO/color-picker/releases/tag/v0.13.0

yairEO avatar Feb 05 '24 18:02 yairEO