Skip to content

0.2.0

Choose a tag to compare

@ethul ethul released this 15 Mar 23:07
· 7 commits to master since this release

Features

The main changes in this release pertain to PureScript dependencies. The dependency graph of the PureScript source and FFI is computed in order to provide webpack with the necessary information for when to trigger a rebuild in watch mode. The debug NPM module is now used. Debug logging can be enabled by adding the key purescript-webpack-plugin to the DEBUG environment variable.

Also, PureScript output is now written to STDERR by the plugin and not returned by the loader in the async callback. This means the output is now above webpack's output of the stats. In order to more clearly see the PureScript errors, it is recommended to tone down the default webpack output. Some examples of how to do this are described in webpack/webpack#1191.

This release is to be used with purs-loader@0.6.0.

Issues Resolved

  • #3 Use cross-spawn-async for windows support
  • #9 Bundling is now optional through a configuration parameter
  • #10 The psc and psc-bundle commands are now configurable
  • #11 Resolved a parsing issue during dependency graph generation