aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.json
diff options
context:
space:
mode:
authoreric thul <thul.eric@gmail.com>2017-02-12 18:05:07 -0500
committereric thul <thul.eric@gmail.com>2017-02-19 12:09:16 -0500
commit8e21ab0ab3f8ba9d129f1cf3b59f87d7a2b5bfc2 (patch)
tree0db1cffab8462d919299ab87eba42200748be632 /package.json
parenta3c358f80f8197d5a1d05e42916cd5593b5b2dd5 (diff)
downloadpurs-loader-8e21ab0ab3f8ba9d129f1cf3b59f87d7a2b5bfc2.tar.gz
purs-loader-8e21ab0ab3f8ba9d129f1cf3b59f87d7a2b5bfc2.tar.zst
purs-loader-8e21ab0ab3f8ba9d129f1cf3b59f87d7a2b5bfc2.zip
Ensure that all imported files are watched
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.
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index 09301db..5aa3d3d 100644
--- a/package.json
+++ b/package.json
@@ -43,6 +43,7 @@
43 "globby": "^4.0.0", 43 "globby": "^4.0.0",
44 "js-string-escape": "^1.0.1", 44 "js-string-escape": "^1.0.1",
45 "loader-utils": "^0.2.14", 45 "loader-utils": "^0.2.14",
46 "lodash.difference": "^4.5.0",
46 "promise-retry": "^1.1.0" 47 "promise-retry": "^1.1.0"
47 }, 48 },
48 "devDependencies": { 49 "devDependencies": {