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

Webpack bundler #611

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Conversation

purplecabbage
Copy link
Member

Description

Experimental !!!
This uses webkit to package the frontend instead of parcel. The details are deep in aio-lib-web, and the feature is hidden behind a flag.

There are some additional hurdles before this will be ready for primetime.

  • Parcel expects an html file as the entry point, and reads the included js files linked from it.
  • Webkit expects a js file entry point, and even using the html plugin there are some issues between the html file we use and what is output. The html plugin will automatically add the js entry script tag with the generated bundle.js ( or bundle-HASH.js ) but it does not add
    so there are template descrepencies, either there is no div, or there are 2 script tags ...

We need to test image handling, all manor of css, ... which is why this is experimental ( and hidden behind a flag. )

Related Issue

adobe/aio-lib-web#169

Motivation and Context

parcel is big ... read more in the other pr

How Has This Been Tested?

with a sample project

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@purplecabbage purplecabbage changed the title Webkit bundler Webpack bundler Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant