Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 91c0f4c0b2 |
4
index.js
4
index.js
@ -33,8 +33,8 @@ module.exports = new Transformer({
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
const shouldInvalidateOnStartup = riotConfig &&
|
const shouldInvalidateOnStartup = riotConfig &&
|
||||||
riotConfig.filePath.endsWith('.js') ||
|
riotConfig?.filePath?.endsWith('.js') ||
|
||||||
riotConfig.filePath.endsWith(CONFIG_FILES[0])
|
riotConfig?.filePath?.endsWith(CONFIG_FILES[0])
|
||||||
|
|
||||||
if (shouldInvalidateOnStartup) {
|
if (shouldInvalidateOnStartup) {
|
||||||
config.invalidateOnStartup()
|
config.invalidateOnStartup()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user