Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tag errors with a specific constructor to simplify their detection | Cyril Sobierajewicz | 2018-12-03 | 2 | -1/+12 |
| | |||||
* | Allow previous loaders to further describe errors | Cyril Sobierajewicz | 2018-12-03 | 1 | -2/+4 |
| | |||||
* | Annotate errors to prevent redundant parsing by other loaders | Cyril Sobierajewicz | 2018-12-03 | 1 | -1/+10 |
| | |||||
* | Allow previous loaders to extract dependencies to watch from errors | Cyril Sobierajewicz | 2018-12-03 | 1 | -0/+8 |
| | |||||
* | Watch failed modules and their dependencies on compilation error | Cyril Sobierajewicz | 2018-12-03 | 2 | -3/+57 |
| | |||||
* | Immediately reject modules if the compilation already failed | Cyril Sobierajewicz | 2018-12-03 | 1 | -4/+12 |
| | |||||
* | Update regex for 0.12.0 (#112) | Michael Trotter | 2018-06-14 | 1 | -2/+2 |
| | |||||
* | Fix for webpack4 | eric thul | 2018-03-17 | 1 | -58/+58 |
| | | | | Resolves #103 and provides an alternative to #108 | ||||
* | Rebuild module map for new files | eric thul | 2017-10-03 | 1 | -16/+21 |
| | | | | Resolves #100 | ||||
* | Generate module map once (#105) | eric | 2017-08-24 | 2 | -24/+13 |
| | | | Resolves #97 | ||||
* | Adding source map support (#102) | eric | 2017-08-12 | 2 | -1/+77 |
| | | | | | | | | * Adding source map support Resolves #101 * Remove unused fs | ||||
* | Add options for ide commands | eric thul | 2017-04-24 | 2 | -5/+8 |
| | |||||
* | Fix requires and psc-package caching | eric thul | 2017-04-23 | 3 | -4/+7 |
| | |||||
* | Handle multiple forced compiles on rebuild | eric thul | 2017-04-23 | 4 | -20/+42 |
| | | | | Resolves #90 | ||||
* | Caching the result of psc-package | eric thul | 2017-04-23 | 1 | -22/+58 |
| | | | | Resolves #83 | ||||
* | Refactoring cache usage | eric thul | 2017-04-23 | 5 | -246/+356 |
| | |||||
* | Support for PureScript 0.11 | eric thul | 2017-04-23 | 6 | -158/+183 |
| | | | | Resolves #89 | ||||
* | Merge branch 'fix-deprecated-warning' of ↵ | eric thul | 2017-04-15 | 1 | -1/+1 |
|\ | | | | | | | https://github.com/ryani33/purs-loader into ryani33-fix-deprecated-warning | ||||
| * | fix deprecated warning | ryani33 | 2017-02-25 | 1 | -1/+1 |
| | | |||||
* | | Fix rebuild for ModuleNotFound | eric thul | 2017-03-18 | 1 | -1/+3 |
| | | | | | | | | Resolves #88 | ||||
* | | Adding an additional module check | eric thul | 2017-02-25 | 1 | -3/+12 |
| | | |||||
* | | Handle missing module and adding debugging | eric thul | 2017-02-25 | 3 | -13/+35 |
| | | |||||
* | | Fix typo in makeBundleJS | eric thul | 2017-02-20 | 1 | -1/+1 |
| | | |||||
* | | Add a watch option | eric thul | 2017-02-19 | 2 | -1/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 watched | eric thul | 2017-02-19 | 3 | -65/+147 |
|/ | | | | | | | | | 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 Dziahel | 2017-02-12 | 1 | -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 | ||||
* | Add psc-ide-server arguments and pass src to psc-ide-server | Michal Kozakiewicz | 2017-01-06 | 1 | -4/+5 |
| | |||||
* | Emit warnings/errors to the compilation instance | eric thul | 2016-11-19 | 2 | -7/+33 |
| | | | | Avoids duplication of warnings. Resolves #78 | ||||
* | Use emitError and emitWarning | eric thul | 2016-11-19 | 3 | -21/+23 |
| | |||||
* | PscIde full recompile on unknown module imports | eric thul | 2016-11-19 | 1 | -1/+7 |
| | | | | | | | Instead of forcing a recompile on an unknown value and on unknown module imports, opt to only recompile for unknown module imports. An unknown value may be a typo. Having a faster feedback loop in these cases seems ideal. | ||||
* | Update debug statements during build/bundle | eric thul | 2016-11-19 | 1 | -3/+4 |
| | |||||
* | Always resolve on psc-ide rebuild failure | eric thul | 2016-11-19 | 1 | -9/+4 |
| | | | | | | | | | | | | | | | | | | The objective of enabling psc-ide is to obtain feedback immediately from the PureScript compiler. When the loader triggers an error to webpack, the bundle is invalidated and dependencies of the PureScript file that caused the error will be passed through the loader on the next successful rebuild. However, this behaviour adds time to the feedback loop. In order to reduce the time of the PureScript compiler feedback loop when in development, this commit always resolves the rebuild process with a success. Errors and warnings are still emitted, but the webpack bundle is not invalidated. This means that the loader will only be run for the current file being editted and the developer gets immediate feedback on success or failure when psc-ide is enabled. Resolves #76 | ||||
* | Don't console.log unless it is needed | Javier Casas | 2016-11-11 | 1 | -3/+3 |
| | |||||
* | Adding dargs dependency | eric thul | 2016-11-05 | 1 | -13/+4 |
| | | | | See issue #69 | ||||
* | Wrapping reject values in Error objects | eric thul | 2016-11-05 | 3 | -9/+9 |
| | |||||
* | Fixes bundled output path | James Yu | 2016-09-06 | 1 | -1/+1 |
| | |||||
* | Clear warnings and errors after use | eric thul | 2016-06-12 | 1 | -0/+2 |
| | | | | Resolves #57 | ||||
* | Handle no filename in PscIde result | eric thul | 2016-06-12 | 1 | -43/+49 |
| | | | | Resolves #58 | ||||
* | Reduce building of PureScript module map | eric thul | 2016-06-12 | 5 | -355/+444 |
| | | | | Resolves #59 and resolves #60 | ||||
* | Bumping version number to 2.0.0-rc.0 | eric thul | 2016-06-04 | 1 | -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 windows | eric thul | 2016-05-24 | 1 | -3/+4 |
| | | | | Resolves #52 | ||||
* | Use cross-spawn for windows support | eric thul | 2016-05-24 | 1 | -1/+1 |
| | | | | Resolves #50 | ||||
* | Handler for multiple psc-ide-client data events | eric thul | 2016-05-24 | 1 | -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 Mingoia | 2016-05-21 | 1 | -15/+24 |
| | |||||
* | Correctly parse boolean options. | Alex Mingoia | 2016-05-14 | 1 | -1/+1 |
| | |||||
* | Do not assume line-delimited psc output. | Alex Mingoia | 2016-05-14 | 1 | -9/+10 |
| | |||||
* | Use more descriptive names for compile state. | Alex Mingoia | 2016-05-14 | 1 | -8/+8 |
| | |||||
* | Disable instant psc-ide rebuilds by default. | Alex Mingoia | 2016-05-12 | 1 | -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 Mingoia | 2016-05-10 | 1 | -2/+2 |
| | |||||
* | Refactor to compile independently of purescript-webpack-plugin. | Alex Mingoia | 2016-05-10 | 12 | -315/+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. |