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

hygiene: run the demo through pagekit compilation #55

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

maxcbc
Copy link

@maxcbc maxcbc commented May 21, 2021

hygiene: run the demo through pagekit compilation

NOTE FOR REVIEWERS: this update makes no changes to the module code itself, only to update its demo and jest configurations to match that of next-article. Consequently, merging this PR does not require a release.

What

Removes hand-rolled demo compilation in favour of using pagekit plugins.

Why

By using pagekit plugins, we create a consistent compilation configuration between the demo in n-magnet and the applications that consume it (at the moment just next-article).

Historically, n-magnet was created before the era of pagekit, and when its predecessor n-ui had extremely limited jsx support. So it had to all be hand-rolled. That is no-longer the case so this update accounts for that fact.

Removes hand-rolled demo compilation in favour of the pagekit standard. This should mean if the demo works, next-article will work.
@maxcbc maxcbc requested a review from a team as a code owner May 21, 2021 09:52
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