Skip to content

Instantly share code, notes, and snippets.

@mindrones
Last active October 11, 2016 06:58
Show Gist options
  • Save mindrones/3894a4329ec15ac0c79c55da7a4a0cc7 to your computer and use it in GitHub Desktop.
Save mindrones/3894a4329ec15ac0c79c55da7a4a0cc7 to your computer and use it in GitHub Desktop.
> [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
import {makeDOMDriver} from '@cycle/dom';
{
"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"
}
}
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