Skip to content

Conversation

floryst
Copy link
Contributor

@floryst floryst commented Aug 14, 2025

Goal: speed up examples building

Could revisit this with vite instead (but would need to work with #3255)

Things that need to be addressed:

  • npm run example runner
  • markdown/documentation site entry generation

@daker
Copy link
Collaborator

daker commented Aug 14, 2025

I think it’d be great if we switched to Vite and phased out the UMD build.

@floryst
Copy link
Contributor Author

floryst commented Aug 15, 2025

Agreed. I'm mostly pushing this for reference, but vite would be the way to go down the road.

@daker
Copy link
Collaborator

daker commented Aug 29, 2025

not related to this PR but to webpack when trying to run the examples

Browserslist: browsers data (caniuse-lite) is 7 months old. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
[webpack-cli] Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
 - options has an unknown property '_assetEmittingPreviousFiles'. These properties are valid:
   object { allowedHosts?, bonjour?, client?, compress?, devMiddleware?, headers?, historyApiFallback?, host?, hot?, ipc?, liveReload?, onListening?, open?, port?, proxy?, server?, app?, setupExitSignals?, setupMiddlewares?, static?, watchFiles?, webSocketServer? } 

@daker
Copy link
Collaborator

daker commented Aug 29, 2025

it's related to this commit: 3953b55#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R125-R128

i switched back to webpack-dev-server: 4.9.0

@jourdain
Copy link
Collaborator

@sankhesh

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.

3 participants