Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application login helper for bundling login specific scripts #693

Open
dingo-d opened this issue Jan 2, 2023 · 0 comments
Open

Application login helper for bundling login specific scripts #693

dingo-d opened this issue Jan 2, 2023 · 0 comments
Assignees
Labels
feature request New feature request

Comments

@dingo-d
Copy link
Collaborator

dingo-d commented Jan 2, 2023

Describe your feature request

Currently there are only admin, theme and block paths exposed when bundling the scripts

// Source files entries absolute locations.
applicationEntry: path.resolve(absolutePath, assetsPathConfigClean, 'application.js'),
applicationAdminEntry: path.resolve(absolutePath, assetsPathConfigClean, 'application-admin.js'),
applicationBlocksEntry: path.resolve(absolutePath, blocksAssetsPathConfigClean, 'application-blocks.js'),
applicationBlocksEditorEntry: path.resolve(absolutePath, blocksAssetsPathConfigClean, 'application-blocks-editor.js'),
applicationBlocksFrontendEntry: path.resolve(absolutePath, blocksAssetsPathConfigClean, 'application-blocks-frontend.js'),
blocksManifestSettingsPath: path.resolve(absolutePath, blocksManifestSettingsPathClean),

Describe the solution you'd like

It would be cool to have an application login entrypoint so that we can load applicationLogin files for specific cases.

There should also be appropriate PHP abstract classes for handling loading those scripts.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in this repo.

Yes

Please confirm that you have searched in our documentation and couldn't find the answer.

Yes

@dingo-d dingo-d added the feature request New feature request label Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request
Projects
None yet
Development

No branches or pull requests

2 participants