You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[!] Error: 'default' is not exported by node_modules/@babel/runtime/helpers/defineProperty.js, imported by src/comps/month.js
https://rollupjs.org/guide/en/#error-name-is-not-exported-by-module
src/comps/month.js (1:7)
1: import _defineProperty from "@babel/runtime/helpers/defineProperty";
^
2: import React from 'react';
3: import classnames from 'classnames';
Error: 'default' is not exported by node_modules/@babel/runtime/helpers/defineProperty.js, imported by src/comps/month.js
at error (/Users/alexeyshaykov/Projects/testLib/node_modules/rollup/dist/shared/rollup.js:4528:30)
at Module.error (/Users/alexeyshaykov/Projects/testLib/node_modules/rollup/dist/shared/rollup.js:9935:16)
at Module.traceVariable (/Users/alexeyshaykov/Projects/testLib/node_modules/rollup/dist/shared/rollup.js:10328:29)
at ModuleScope.findVariable (/Users/alexeyshaykov/Projects/testLib/node_modules/rollup/dist/shared/rollup.js:8783:39)
at FunctionScope.findVariable (/Users/alexeyshaykov/Projects/testLib/node_modules/rollup/dist/shared/rollup.js:2622:38)
at ChildScope.findVariable (/Users/alexeyshaykov/Projects/testLib/node_modules/rollup/dist/shared/rollup.js:2622:38)
at Identifier$1.bind (/Users/alexeyshaykov/Projects/testLib/node_modules/rollup/dist/shared/rollup.js:3977:40)
at CallExpression$1.bind (/Users/alexeyshaykov/Projects/testLib/node_modules/rollup/dist/shared/rollup.js:2709:23)
at CallExpression$1.bind (/Users/alexeyshaykov/Projects/testLib/node_modules/rollup/dist/shared/rollup.js:6680:15)
at CallExpression$1.bind (/Users/alexeyshaykov/Projects/testLib/node_modules/rollup/dist/shared/rollup.js:2705:31)
```
what the promblem? and how to fix it?
thx
The text was updated successfully, but these errors were encountered:
Hi.
i am using rollup for my simple test React libary.
i have React component with classnames lib for concat styles
/// Month.js ///
/// month.styl ///
/// rollup.config.js ///
after build it
/// index.js
/// main.css
looks good
but if i change Month.js
i caught error until building
The text was updated successfully, but these errors were encountered: