Skip to content

Commit 299b2ca

Browse files
committed
style: format babel plugin with biome
Apply biome formatting to babel plugin file.
1 parent d9d7c40 commit 299b2ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugins/babel-plugin-inline-require-calls.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
'use strict'
2+
13
const { createRequire } = require('node:module')
4+
const fs = require('node:fs')
25
const path = require('node:path')
36

47
/**
@@ -69,7 +72,6 @@ module.exports = function inlineRequireCalls(babel) {
6972
]
7073

7174
// Find the first path that exists.
72-
const fs = require('node:fs')
7375
let resolvedPath = absolutePath
7476
for (const testPath of possiblePaths) {
7577
try {

0 commit comments

Comments
 (0)