optimajet / formengine

Drag & Drop Form Builder Library for React.
https://formengine.io
27 stars 4 forks source link

Update breaks build when using rollup #27

Open jonathanfalkner opened 2 days ago

jonathanfalkner commented 2 days ago

This bump from 1.3.1 to 1.4.0 has started breaking our builds: https://github.com/optimajet/formengine/commit/06366a2bc01680da24c4ad9e8ab58d573d2e6abb

Rollup failed to resolve import "rsuite/esm/internals/hooks/useUniqueId.js" from "/builds/[removed for privacy reasons]/node_modules/@react-form-builder/designer/dist/index.js".

Version 1.4.0 of RSuite moved where these internals are located. It is also possible that this should have been "@rsuite/" instead of "rsuite/". Either way, the reference in react-form-builder is incorrect.

jonathanfalkner commented 2 days ago

Line 63: import { useUniqueId as Cr } from "rsuite/esm/internals/hooks/useUniqueId.js";

This is what is breaking.

optimajet commented 1 day ago

@jonathanfalkner Thank you for reporting this issue. We will fix this issue.

optimajet commented 1 day ago

@jonathanfalkner Please try release 1.5.0 - https://formengine.io/documentation/release-notes#150