We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4e4cd0 commit fa36321Copy full SHA for fa36321
scripts/package.js
@@ -312,6 +312,16 @@ async function packagePlugin() {
312
}
313
314
315
+ // Rename interactions.php to plugin.php for premium builds only
316
+ if ( IS_PREMIUM_BUILD ) {
317
+ const oldPath = path.join( BUILD_DIR, 'interactions.php' )
318
+ const newPath = path.join( BUILD_DIR, 'plugin.php' )
319
+ if ( fs.existsSync( oldPath ) ) {
320
+ fs.renameSync( oldPath, newPath )
321
+ console.log( '📝 Renamed interactions.php to plugin.php for premium build' )
322
+ }
323
324
+
325
console.log( '📁 Copying source directories...' )
326
// Pass isSrcRoot = true for the top-level src folder
327
copyDir( 'src', path.join( BUILD_DIR, 'src' ), true )
0 commit comments