Comments (2)
I think that's a great idea @dd32! Here's what needed to make it a reality:
- Define a constants, e.g. in
_runWordPressCode
- Remove the static assets from the WordPress
.data
bundle inprepare-wordpress.sh
. There is even some prior art under the$LAZY_FILES
if statement. Lazy files aren't that useful and could be removed as a concept, and the code inside thatif
could be repurposed. - Rebuild the WordPress bundle with
npm run build:wp
and test if it worked withnpm run dev
Would you like to give it a try?
from wordpress-playground.
https://github.com/WordPress/WordPress/blob/master/wp-includes/script-loader.php is full of other interesting constants to explore.
from wordpress-playground.
Related Issues (20)
- Advanced blueprint.json code block incomplete HOT 1
- zip fails HOT 1
- Error: memory access out of bounds in unit test HOT 4
- Automatically deploy to playground.wordpress.net right after new Beta / RC HOT 3
- playground block: toggling activation requirement does not change how block is rendered in editor HOT 1
- Unable to Access Pages Due to Anchor URL Structure in React Based Plugin HOT 1
- Browser storage: Unhelpful crash message when outdated code is stored HOT 1
- Add rate limiting to the logger API
- Importfile doesn't work HOT 5
- PHP Class `finfo` not found HOT 20
- PHP memory leak HOT 41
- Feature Request: Add "user role" to the query API HOT 2
- Support ports in multisites
- WooCommerce & Errors - TypeError: Failed to fetch, site crashes etc. HOT 10
- Get Playground on https://make.wordpress.org/hosting/test-results/
- Can't save site settings when unchecking an options – NOT NULL constraint violation HOT 12
- Playground PR Previews as a GitHub App HOT 3
- Use @php-wasm/logger for all logs HOT 3
- Error: "unreachable" WASM instruction executed HOT 2
- @php-wasm/logger event.reason is sometimes undefied
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wordpress-playground.