esbuild-plugin-filelastmodified
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -7,3 +7,3 @@ import fs from "fs"; | ||
if (!source.match(find)) | ||
return args; | ||
return; | ||
return { | ||
@@ -10,0 +10,0 @@ path: args.path, |
@@ -33,3 +33,3 @@ var __create = Object.create; | ||
if (!source.match(find)) | ||
return args; | ||
return; | ||
return { | ||
@@ -36,0 +36,0 @@ path: args.path, |
{ | ||
"name": "esbuild-plugin-filelastmodified", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A esbuild plugin to replace __fileLastModified__ with the actual time the file has been modified.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -14,3 +14,3 @@ import { Plugin, OnResolveArgs, OnLoadArgs, OnResolveResult, OnLoadResult } from 'esbuild' | ||
if (!source.match(find)) return args | ||
if (!source.match(find)) return | ||
@@ -17,0 +17,0 @@ return { |
8162