- Rollup Plugin Name: @rollup/plugin-commonjs
- Rollup Plugin Version: Latest
- Rollup Version: Latest
- Operating System (or Browser): MacOS, Repl.it
- Node Version: v12.16.3
How Do We Reproduce?
- Run: https://repl.it/repls/WorthyPrevailingOutcomes
- This is a simplified version of what's happening when you try to bundle the "styled-normalize" package.
Expected Behavior
css and createGlobalStyle are imported correctly.
Actual Behavior
(Looking at output/bundle.js) css and createGlobalStyle are being pulled off of the default export (any empty object) instead of the module namespace (where they exist as exports).
See: https://www.pika.dev/npm/snowpack/discuss/194
How Do We Reproduce?
Expected Behavior
cssandcreateGlobalStyleare imported correctly.Actual Behavior
(Looking at output/bundle.js)
cssandcreateGlobalStyleare being pulled off of the default export (any empty object) instead of the module namespace (where they exist as exports).See: https://www.pika.dev/npm/snowpack/discuss/194