Skip to content

Instantly share code, notes, and snippets.

@d4l3k
Created June 25, 2016 17:53
Show Gist options
  • Save d4l3k/824021e33bde53dc54d33c581b93e723 to your computer and use it in GitHub Desktop.
Save d4l3k/824021e33bde53dc54d33c581b93e723 to your computer and use it in GitHub Desktop.
✘  ~/Developer/bridgesim   master ●  npm run watch
> bridgesim@1.0.0 watch /Users/wiz/Developer/bridgesim
> tsc --watch & watchify $(find client/ -name '*.js' ! -name '*_test.js' | tr -s '
' ' ') --outfile out.js --debug --verbose
/Users/wiz/Developer/bridgesim/core/math.ts:1
import {Point, Region} from './components';
^
ParseError: 'import' and 'export' may appear only with 'sourceType: module'
11:53:29 AM - Compilation complete. Watching for file changes.
/Users/wiz/Developer/bridgesim/core/math.ts:1
import {Point, Region} from './components';
^
ParseError: 'import' and 'export' may appear only with 'sourceType: module'
/Users/wiz/Developer/bridgesim/core/math.ts:1
import {Point, Region} from './components';
^
ParseError: 'import' and 'export' may appear only with 'sourceType: module'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment