This repository was archived by the owner on Aug 4, 2021. It is now read-only.
This repository was archived by the owner on Aug 4, 2021. It is now read-only.
Parsing problems #168
Closed
Description
Version of rollup is 0.41.4
In the main.js
import 'rxjs/add/operator/mergeMap';
Rollup config:
export default {
entry: 'main.js',
dest: 'dist/bundle.js',
format: 'iife',
plugins: [
nodeResolve({jsnext: true, module: true}),
commonjs(),
]
}
Stderr:
Error: Unexpected token
../node_modules/rxjs/util/isArrayLike.js (2:78)
1: "use strict";
2: var isArrayLike_1 = function (x) { return x && typeof x.length === 'number'; });
^
3: //# sourceMappingURL=isArrayLike.js.map
Original ../node_modules/rxjs/util/isArrayLike.js file
"use strict";
exports.isArrayLike = (function (x) { return x && typeof x.length === 'number'; });
//# sourceMappingURL=isArrayLike.js.map
Metadata
Metadata
Assignees
Labels
No labels