Skip to content

Fix typo in readme #68

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

Merged
merged 2 commits into from
Nov 8, 2022
Merged

Fix typo in readme #68

merged 2 commits into from
Nov 8, 2022

Conversation

Soean
Copy link
Member

@Soean Soean commented Nov 8, 2022

No description provided.

Copy link
Member

@gziolo gziolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix.

@gziolo gziolo merged commit 72c3806 into WordPress:trunk Nov 8, 2022
@Soean Soean deleted the fix-typo branch November 8, 2022 14:37
brandonpayton added a commit that referenced this pull request Feb 28, 2025
## Motivation for the change, related issues

When I enabled source maps for the website build in
[bba856f](bba856f),
the source maps were inadvertently added to the list of assets required
for working offline.

Source maps are not needed to run Playground offline, and they can be
quite large. So we need to remove them from the list.

## Implementation details

This PR adds a new exclusion pattern so source maps are no longer
included in `assets-required-for-offline-mode.json`.

## Testing Instructions (or ideally a Blueprint)

- On trunk, build the website and save a copy of
`dist/packages/playground/wasm-wordpress-net/assets-required-for-offline-mode.json`
- Switch to this branch, rebuild the website, and save another copy of
the above JSON file.
- Confirm that there are no .js.map files referenced in the second JSON
file.
- On the command line run `diff <(cat old.json | sort) <(cat new.json |
sort)` and confirm that the only differences are .js.map files missing
from the second JSON file.
brandonpayton added a commit that referenced this pull request Feb 28, 2025
## Motivation for the change, related issues

When I enabled source maps for the website build in
[bba856f](bba856f),
the source maps were inadvertently added to the list of assets required
for working offline.

Source maps are not needed to run Playground offline, and they can be
quite large. So we need to remove them from the list.

## Implementation details

This PR adds a new exclusion pattern so source maps are no longer
included in `assets-required-for-offline-mode.json`.

## Testing Instructions (or ideally a Blueprint)

- On trunk, build the website and save a copy of
`dist/packages/playground/wasm-wordpress-net/assets-required-for-offline-mode.json`
- Switch to this branch, rebuild the website, and save another copy of
the above JSON file.
- Confirm that there are no .js.map files referenced in the second JSON
file.
- On the command line run `diff <(cat old.json | sort) <(cat new.json |
sort)` and confirm that the only differences are .js.map files missing
from the second JSON file.
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.

2 participants