You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone, I'm trying to use parcel to create a simple file system based router for js, It's a pretty simple and a toy project, the thing is I need to intercept the bundling process and add the routes at that point, I tried to follow the parcel Bundler API instructions to a big failure, to start it off, I don't knoww if I should make an index.js file where the "bundling" happens and the run parcel index.js.
Also, should I be intercepting the bundleStart event?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone, I'm trying to use parcel to create a simple file system based router for js, It's a pretty simple and a toy project, the thing is I need to intercept the bundling process and add the routes at that point, I tried to follow the parcel Bundler API instructions to a big failure, to start it off, I don't knoww if I should make an index.js file where the "bundling" happens and the run parcel index.js.
Also, should I be intercepting the bundleStart event?
Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions