aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/index.js
Commit message (Collapse)AuthorAgeFilesLines
* Added hooks support (#122)Rajat Sharma2019-03-101-6/+18
| | | Closes #120
* Sourcemaps for ide rebuild (#118)eric2019-01-201-2/+1
| | | Resolves #116
* Fix for webpack4eric thul2018-03-171-58/+58
| | | | Resolves #103 and provides an alternative to #108
* Generate module map once (#105)eric2017-08-241-14/+0
| | | Resolves #97
* Adding source map support (#102)eric2017-08-121-1/+9
| | | | | | | | * Adding source map support Resolves #101 * Remove unused fs
* Add options for ide commandseric thul2017-04-241-1/+4
|
* Fix requires and psc-package cachingeric thul2017-04-231-2/+5
|
* Handle multiple forced compiles on rebuilderic thul2017-04-231-14/+36
| | | | Resolves #90
* Caching the result of psc-packageeric thul2017-04-231-22/+58
| | | | Resolves #83
* Refactoring cache usageeric thul2017-04-231-68/+158
|
* Support for PureScript 0.11eric thul2017-04-231-13/+35
| | | | Resolves #89
* Merge branch 'fix-deprecated-warning' of ↵eric thul2017-04-151-1/+1
|\ | | | | | | https://github.com/ryani33/purs-loader into ryani33-fix-deprecated-warning
| * fix deprecated warningryani332017-02-251-1/+1
| |
* | Handle missing module and adding debuggingeric thul2017-02-251-1/+1
| |
* | Add a watch optioneric thul2017-02-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Similar to the way psc-ide support works, the purs-loader now tolerates compiler errors when the `watch` option is true. When webpack is being run in watch mode the user can set `watch` to true in order to avoid failing the webpack bundle creation when the PureScript compiler fails. Resolves issue #66 Resolves issue #73 Resolves issue #74
* | Ensure that all imported files are watchederic thul2017-02-191-60/+1
|/ | | | | | | | | In order to handle the case where a new PureScript file is imported, but fails to compile, the purs-loader now tracks imports for each PureScript file in order to append any additional imports to the resulting JS. This ensures that webpack will watch the new file even before it successfully compiles.
* initial psc-package support (#82)Andrei Dziahel2017-02-121-4/+27
| | | | | | | | | | | | | | | | | | | | * Extract deps path * Initial psc-package support * index.js: `pscPackage` and `src` incompatibility warning * index.js: make use of user-provided options * index.js: make use of user-provided options: now for pscIdeColors * index.js: remember depsPaths call result * index.js: implemented appending user src paths with psc-packages' * README.md: sync changes of pscPackage behavior Also reflect pscPackage support in "Default options" section
* Emit warnings/errors to the compilation instanceeric thul2016-11-191-5/+30
| | | | Avoids duplication of warnings. Resolves #78
* Use emitError and emitWarningeric thul2016-11-191-15/+2
|
* Wrapping reject values in Error objectseric thul2016-11-051-1/+1
|
* Clear warnings and errors after useeric thul2016-06-121-0/+2
| | | | Resolves #57
* Reduce building of PureScript module maperic thul2016-06-121-355/+39
| | | | Resolves #59 and resolves #60
* Bumping version number to 2.0.0-rc.0eric thul2016-06-041-14/+19
| | | | | | | | | Adds support for PureScript 0.9.1 and newer (purescript/purescript#2151) The `next` tag on NPM points to this pre-release. Also note that `peerDependencies` has been removed (npm/npm#8854). Resolves #54
* Escape require paths for windowseric thul2016-05-241-3/+4
| | | | Resolves #52
* Use cross-spawn for windows supporteric thul2016-05-241-1/+1
| | | | Resolves #50
* Handler for multiple psc-ide-client data eventseric thul2016-05-241-4/+18
| | | | | | | Attach a handler to the `psc-ide-client` process to capture one or more chunks from the `data` event. Resolves #48
* Reference source ffi module instead of output ffi module.Alex Mingoia2016-05-211-15/+24
|
* Correctly parse boolean options.Alex Mingoia2016-05-141-1/+1
|
* Do not assume line-delimited psc output.Alex Mingoia2016-05-141-9/+10
|
* Use more descriptive names for compile state.Alex Mingoia2016-05-141-8/+8
|
* Disable instant psc-ide rebuilds by default.Alex Mingoia2016-05-121-14/+20
| | | | Using psc-ide-server is experimental and there may be bugs or edge-cases.
* Recompile on when psc-client-ide receives UnknownModule.Alex Mingoia2016-05-101-2/+2
|
* Refactor to compile independently of purescript-webpack-plugin.Alex Mingoia2016-05-101-0/+465
- Remove dependence on purescript-webpack-plugin - Fixes double-compilation issue by loading compiled JS instead of adding dependency. - Uses `psc-ide-server` for fast rebuilds.