Example project trying to get PureScript and Wallaby working together.
yarn install
yarn sapgo install
yarn build
NOTE: yarn watch
requires a global install of the purescript
npm module.
Generated files will appear in output with one sub directory per module. Each sub directory will include the following files:
- externs.json: dump of internal compiler state for module
- foreign.js: native JavaScript functions imported by index (optional)
- index.js: JavaScript code generated from PureScript code by purs compiler
- index.js.map: source map betwen PureScript module and index.js
TODO:
- build files with source maps
- create post-processor for wallaby