@jsenv/core 23.6.1 → 23.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "23.6.1",
3
+ "version": "23.6.2",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -85,13 +85,7 @@ export const compileFile = async ({
85
85
  responseHeaders = {},
86
86
  } = compileResult
87
87
 
88
- if (
89
- compileResultStatus !== "cached" &&
90
- compileCacheStrategy !== "none" &&
91
- // a cutom compiler explicitely disables cache by returning "cache-control": "no-store"
92
- // this file must not be cached on the filesystem and always re-generated
93
- responseHeaders["cache-control"] !== "no-store"
94
- ) {
88
+ if (compileResultStatus !== "cached" && compileCacheStrategy !== "none") {
95
89
  updateMeta({
96
90
  logger,
97
91
  meta,