Releases: ethul/purescript-webpack-plugin
0.3.1
0.3.0
Features
The purescript-webpack-plugin now directs PureScript errors and warnings to the arrays of errors and warnings that are part of the webpack compilation process. This provides the output to the browser and console, and allows for other tools to pre-process it.
Issues Resolved
- #18 Error output compatibility
0.2.0
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
0.2.0-beta.7: Cross spawn
Features
- #3 Use cross-spawn-async
0.2.0-beta.6: Writing output
Changes
- Writes the PureScript output instead of doing this in the loader
- Point to external example
0.2.0-beta.5: Optional bundle and more config
0.2.0-beta.4: Fix dependency parsing
Bug fixes
- #11 Resolves a parsing issue in the resulting JS bundle
0.2.0-beta.3: Cache module mappings
Features
- Only parse the PureScript or FFI file if the file has changed.
0.2.0-beta.2: Handle error on dependencies
Version 0.2.0-beta.2
0.2.0-beta.1: Debugging
Features
Adding debug functionality with the name as purescript-webpack-plugin.