react-styleguidist
react-styleguidist copied to clipboard
react-styleguidist v12.0.0-alpha9.9 published assets do not match source code
Current behavior
When I download react-styleguidist from npm, inspect the downloaded files, and look at the "lib/client/rsg-components/Examples.js" file, I see:
import React from 'react';
import PropTypes from 'prop-types';
import ExamplesRenderer from 'rsg-components/Examples/ExamplesRenderer';
var Examples = function Examples(_ref) {
var content = _ref.content,
componentName = _ref.componentName;
var ExampleComponent = content.default;
return /*#__PURE__*/React.createElement(ExamplesRenderer, {
componentName: componentName
}, /*#__PURE__*/React.createElement(ExampleComponent, {
componentName: componentName
}));
};
Examples.propTypes = {
content: PropTypes.any.isRequired,
componentName: PropTypes.string.isRequired,
exampleMode: PropTypes.string.isRequired
};
export default Examples;
however, when I compile the code via npm run compile after cloning the repo, I see:

The latter matches the source code.
To reproduce
Install [email protected] and inspect the node modules.
Expected behavior
The shipped/published code should match the source code. Something is going wrong in the publish process perhaps? For reference, I'm using yarn v3 to install react-styleguidist.
😴 This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week without any further activity. Consider opening a pull request if you still have this issue or want this feature.
Ping