We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e58992f commit 2058163Copy full SHA for 2058163
build/build.js
@@ -22,7 +22,10 @@ async function build(opts) {
22
.rollup({
23
input: opts.input,
24
plugins: (opts.plugins || []).concat([
25
- buble(),
+ buble({
26
+ transforms: {
27
+ dangerousForOf: true
28
+ }}),
29
commonjs(),
30
nodeResolve(),
31
replace({
@@ -33,8 +36,8 @@ async function build(opts) {
33
36
onwarn: function (message) {
34
37
if (message.code === 'UNRESOLVED_IMPORT') {
35
38
throw new Error(
- `Could not resolve module ` +
- message.source +
39
+ `Could not resolve module ` +
40
+ message.source +
41
`. Try running 'npm install' or using rollup's 'external' option if this is an external dependency. ` +
42
`Module ${message.source} is imported in ${message.importer}`
43
)
0 commit comments