Last active
October 11, 2016 06:58
-
-
Save mindrones/3894a4329ec15ac0c79c55da7a4a0cc7 to your computer and use it in GitHub Desktop.
cycle.js rollup error (see https://github.com/rollup/rollup/issues/1040)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> [email protected] build ~/Dev/tryouts/cycle_report | |
> rollup -c | |
node_modules/symbol-observable/es/index.js (4:12) The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten. See https://github.com/rollup/rollup/wiki/Troubleshooting#this-is-undefined for more information | |
Error parsing ~/Dev/tryouts/cycle_report/node_modules/es5-ext/object/set-prototype-of/shim.js: Unexpected token (78:5) in ~/Dev/tryouts/cycle_report/node_modules/es5-ext/object/set-prototype-of/shim.js | |
Type rollup --help for help, or visit https://github.com/rollup/rollup/wiki |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {makeDOMDriver} from '@cycle/dom'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "cycle_rollup", | |
"version": "0.0.0", | |
"description": "cycle_rollup", | |
"scripts": { | |
"build": "rollup -c" | |
}, | |
"devDependencies": { | |
"rollup": "^0.36.1", | |
"rollup-plugin-commonjs": "^5.0.4", | |
"rollup-plugin-node-resolve": "^2.0.0", | |
"rollup-plugin-typescript": "^0.8.1" | |
}, | |
"dependencies": { | |
"@cycle/dom": "^12.2.5", | |
"xstream": "^6.4.1" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { default as nodeResolve } from 'rollup-plugin-node-resolve' | |
import { default as typescript } from 'rollup-plugin-typescript' | |
import { default as commonjs } from 'rollup-plugin-commonjs' | |
var cache; | |
export default { | |
entry: 'main.js', | |
dest: 'bundle.js', | |
format: 'iife', | |
plugins: [ | |
nodeResolve({jsnext : true}), | |
typescript(), | |
commonjs() | |
], | |
cache: cache | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment