You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by bmt2604 January 5, 2024
Hello,
I upgraded the package version of @bbob/react and @bbob/preset-react from 2.9.0 to 3.0.2 in my React application and started seeing this error: TypeError: presetHTML5.extend is not a function.
I was previously importing from the package like so:
import BBCode from '@bbob/react';
import presetReact from '@bbob/preset-react';
but have found that since upgrading, the only way I've found to fix the error is to include /lib in the import path:
import BBCode from '@bbob/react/lib';
import presetReact from '@bbob/preset-react/lib';
Is this an expected change to have to make when using the latest version?
The text was updated successfully, but these errors were encountered:
@petrvecera@BadiiBoukalane can you please share your vite/webpack configs or what build system you use?
If you use type: module in package.json so currently this package don't support esm format
Discussed in #213
Originally posted by bmt2604 January 5, 2024
Hello,
I upgraded the package version of @bbob/react and @bbob/preset-react from 2.9.0 to 3.0.2 in my React application and started seeing this error:
TypeError: presetHTML5.extend is not a function
.I was previously importing from the package like so:
but have found that since upgrading, the only way I've found to fix the error is to include
/lib
in the import path:Is this an expected change to have to make when using the latest version?
The text was updated successfully, but these errors were encountered: