Skip to content

Releases: ethul/purescript-webpack-plugin

0.3.1

11 May 18:27

Choose a tag to compare

Bugs

  • #27 Warnings and errors are duplicated when not in watch

0.3.0

11 Apr 22:52

Choose a tag to compare

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

15 Mar 23:07

Choose a tag to compare

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

0.2.0-beta.7: Cross spawn

15 Mar 00:44

Choose a tag to compare

Pre-release

Features

  • #3 Use cross-spawn-async

0.2.0-beta.6: Writing output

13 Mar 14:13

Choose a tag to compare

Pre-release

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

12 Mar 20:08

Choose a tag to compare

Features

  • #9 - Optional psc-bundle
  • #10 - Configurable psc executables

0.2.0-beta.4: Fix dependency parsing

06 Mar 18:48

Choose a tag to compare

Pre-release

Bug fixes

  • #11 Resolves a parsing issue in the resulting JS bundle

0.2.0-beta.3: Cache module mappings

05 Mar 21:30

Choose a tag to compare

Pre-release

Features

  • Only parse the PureScript or FFI file if the file has changed.

0.2.0-beta.2: Handle error on dependencies

28 Feb 14:16

Choose a tag to compare

Version 0.2.0-beta.2

0.2.0-beta.1: Debugging

28 Feb 01:21

Choose a tag to compare

Pre-release

Features

Adding debug functionality with the name as purescript-webpack-plugin.