Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don’t unnecessarily invalidate the module map (#124) | Cyril Sobierajewicz | 2019-05-24 | 1 | -6/+15 |
| | | | | | | | | | | | | | | | | | | | * Don’t unnecessarily invalidate the module map Additional imports in PureScript sources (compared to their JavaScript output) shouldn’t always invalidate the module map because imports of types are erased and re-exports are followed. Also `Prim.*` modules are internal to the compiler and won’t ever be present in the module map. * Don’t add imports to unused modules Otherwise the following expression ```purs hello :: Effect Unit hello = log "Hello" ``` includes the whole `Prelude` into its chunk whereas only `log` is actually needed at runtime. | ||||
* | Update regex for 0.12.0 (#112) | Michael Trotter | 2018-06-14 | 1 | -2/+2 |
| | |||||
* | 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 | 1 | -10/+13 |
| | | | Resolves #97 | ||||
* | Fix requires and psc-package caching | eric thul | 2017-04-23 | 1 | -1/+1 |
| | |||||
* | Refactoring cache usage | eric thul | 2017-04-23 | 1 | -4/+8 |
| | |||||
* | Adding an additional module check | eric thul | 2017-02-25 | 1 | -3/+12 |
| | |||||
* | Handle missing module and adding debugging | eric thul | 2017-02-25 | 1 | -8/+15 |
| | |||||
* | Fix typo in makeBundleJS | eric thul | 2017-02-20 | 1 | -1/+1 |
| | |||||
* | Ensure that all imported files are watched | eric thul | 2017-02-19 | 1 | -0/+129 |
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. |