python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
webpack + react building get babel error,Module build failed (from ./node_modules/babel-loader/lib/index.js):
ERROR in ./src/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
TypeError: Cannot read property 'next' of undefined
at evaluateSync (/Users/zhanghanfeng/Desktop/testrr...
MxM web
Votes: 0
Answers: 0
Rollup.js can not detect default exports when trying to build component library with React.js
I am trying to create component library with React.js, I am using Rollup.js for this.
When I am building the app, I see this error in the console. It seems Rollup can not detect default exports, I tri...
Nightcrawler
Votes: 0
Answers: 1
rollup --config gives : [!] SyntaxError: Unexpected token 'export'
I'm trying to learn how to use rollup to package some javascript, following some tutorial on the net.
I stuck at the very beginning trying to use a config file.
With command line everything seems OK, ...
Joël Hecht
Votes: 0
Answers: 1
Rollup doesn't bundle all the files exported in my input src
I have a problem. I'm currently making a component library for react, it works perfectly in storybook. But when I do a npm rollup, or install my package from npm. I look inside the cjs and esm folders...
Salim Regragui
Votes: 0
Answers: 1