Upgrade to version 11.0.1 #1

Merged
steve merged 60 commits from v11.0.1 into main 2025-10-30 22:14:46 +00:00
Showing only changes of commit 3f808812dd - Show all commits

View File

@@ -86,7 +86,7 @@ export function wordpressPlugin() {
} }
}, },
transform(code, id) { transform(code, id) {
if (!id.endsWith('.js')) return if ((!id.endsWith('.js')) && !id.endsWith('.jsx')) return
const imports = [ const imports = [
...(code.match(/^import .+ from ['"]@wordpress\/[^'"]+['"]/gm) || []), ...(code.match(/^import .+ from ['"]@wordpress\/[^'"]+['"]/gm) || []),