Code: Select all
import _propTypes from "commonjs-proxy:prop-types";
import _classnames from "commonjs-proxy:classnames";
import _reactDom from "commonjs-proxy:react-dom";
At runtime, it errors out because it can't find the "common-proxy" module. Why is Primereact using commonjs-proxy instead of the modern imports?
Code: Select all
import PropTypes from "prop-types";
import classNames from "classnames";