Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup with CommonJS fails due to es.js distribution of Vue Styled Components #110

Open
IntusFacultas opened this issue May 5, 2020 · 0 comments

Comments

@IntusFacultas
Copy link

When performing a rollup with the commonjs module, the rollup will fail due to custom named exports in dist/vue-styled-components.es.js

Stack Trace:
(plugin commonjs) Error: Custom named exports were specified for C:\Users\pedro\Documents\Work\Storybook\src\components\Form\node_modules\vue-styled-components\dist\vue-styled-components.es.js but it does not appear to be a CommonJS module node_modules\vue-styled-components\dist\vue-styled-components.es.js Error: Custom named exports were specified for C:\Users\pedro\Documents\Work\Storybook\src\components\Form\node_modules\vue-styled-components\dist\vue-styled-components.es.js but it does not appear to be a CommonJS module at transformCommonjs (C:\Users\pedro\Documents\Work\Storybook\src\components\Form\node_modules\@rollup\plugin-commonjs\dist\index.js:753:13) at Object.transformAndCheckExports (C:\Users\pedro\Documents\Work\Storybook\src\components\Form\node_modules\@rollup\plugin-commonjs\dist\index.js:1144:25) at Object.transform (C:\Users\pedro\Documents\Work\Storybook\src\components\Form\node_modules\@rollup\plugin-commonjs\dist\index.js:1309:48) at C:\Users\pedro\AppData\Roaming\npm\node_modules\rollup\dist\shared\node-entry.js:13113:25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant