aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/to-javascript.js
Commit message (Collapse)AuthorAgeFilesLines
* Don’t unnecessarily invalidate the module map (#124)Cyril Sobierajewicz2019-05-241-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 Trotter2018-06-141-2/+2
|
* Rebuild module map for new fileseric thul2017-10-031-16/+21
| | | | Resolves #100
* Generate module map once (#105)eric2017-08-241-10/+13
| | | Resolves #97
* Fix requires and psc-package cachingeric thul2017-04-231-1/+1
|
* Refactoring cache usageeric thul2017-04-231-4/+8
|
* Adding an additional module checkeric thul2017-02-251-3/+12
|
* Handle missing module and adding debuggingeric thul2017-02-251-8/+15
|
* Fix typo in makeBundleJSeric thul2017-02-201-1/+1
|
* Ensure that all imported files are watchederic thul2017-02-191-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.