Compare commits

..

1 Commits
main ... v7.0.3

Author SHA1 Message Date
gianlucaguarini
efa3ce239f 7.0.3 2021-10-24 17:23:54 +02:00
3 changed files with 5 additions and 5 deletions

View File

@ -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()

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@riotjs/parcel-transformer-riot", "name": "@riotjs/parcel-transformer-riot",
"version": "7.0.2", "version": "7.0.3",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@riotjs/parcel-transformer-riot", "name": "@riotjs/parcel-transformer-riot",
"version": "7.0.2", "version": "7.0.3",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@parcel/plugin": "^2.0.0", "@parcel/plugin": "^2.0.0",

View File

@ -1,6 +1,6 @@
{ {
"name": "@riotjs/parcel-transformer-riot", "name": "@riotjs/parcel-transformer-riot",
"version": "7.0.2", "version": "7.0.3",
"description": "The Riot.js official parcel transformer", "description": "The Riot.js official parcel transformer",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {