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
I'm trying to bundle handlebars with rollup (as webpack has a long list of dependencies), I get the following error. Can you support bundling with rollup?
$ rollup ./lib/handlebars.js
'default' is not exported by lib/handlebars/compiler/parser.js (imported by lib/handlebars/compiler/base.js). For help fixing this error see https://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module
Error: 'default' is not exported by lib/handlebars/compiler/parser.js (imported by lib/handlebars/compiler/base.js). For help fixing this error see https://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module
at Module.trace (/usr/lib/nodejs/rollup/src/Module.js:362:30)
at Module.traceExport (/usr/lib/nodejs/rollup/src/Module.js:388:29)
at Module.trace (/usr/lib/nodejs/rollup/src/Module.js:360:36)
at ModuleScope.findDeclaration (/usr/lib/nodejs/rollup/src/ast/scopes/ModuleScope.js:47:22)
at Scope.findDeclaration (/usr/lib/nodejs/rollup/src/ast/scopes/Scope.js:92:39)
at Identifier.bind (/usr/lib/nodejs/rollup/src/ast/nodes/Identifier.js:7:29)
at /usr/lib/nodejs/rollup/src/ast/Node.js:6:34
at AssignmentExpression.eachChild (/usr/lib/nodejs/rollup/src/ast/Node.js:21:5)
at AssignmentExpression.bind (/usr/lib/nodejs/rollup/src/ast/Node.js:6:8)
at AssignmentExpression.bind (/usr/lib/nodejs/rollup/src/ast/nodes/AssignmentExpression.js:29:13)
Type rollup --help for help, or visit https://github.com/rollup/rollup/wiki
The text was updated successfully, but these errors were encountered:
This change would revert part of commit efddc3 and it does reduce code-coverage in the istanbul report. But this reduction seems to be a reporting issue. Maybe this can be handed differently.
At first, it would be interesting if the change solves your problem.
I'm trying to bundle handlebars with rollup (as webpack has a long list of dependencies), I get the following error. Can you support bundling with rollup?
The text was updated successfully, but these errors were encountered: