Comments (3)
yeah, the go-to solution for this is called a router
which manages the paths you navigate to, issue is with the framework I'm using I cannot use a good router because I need to use a very specific compiler to get the torrent tech behind Miru working correctly
from miru.
if you're curious I currently use Svelte with Webpack[bundler], I'm get to find a good router for normal Svelte, I'd like to use SvelteKit and it's router because it's actually fucking goated, but its Vite[bundler] only
the reason I need webpack is because of module aliasing and resolution, I need a bundler which can build multiple outputs in multiple different ways, for example:
- it needs to compile ESM to CJS as Electron doesn't support ESM
- it needs to compile for a custom enviorment which is both a browser and nodejs, that means it can both access the DOM and node.js API's
- it needs to compile for an environment which only implements some, but not all node.js api's [electron preload]
- it needs to compile for a normal website
- it needs to support module aliasing, aka "replace dependency X with dependency Y while compiling"
all in a single config in a single build. Vite can't do this
if you find a good router that can compare to sveltekit link it and I'll look at it
from miru.
It does not sound like an easy fix, that's a shame.
When you say framework, are you talking about Svelte ?
What is it that makes the compiler not allow the usage of a good router if you don't mind me asking ?
from miru.
Related Issues (20)
- [Bug]: Wrong torrent selected for S01E01 Koi wa Futago de Warikirenai HOT 1
- [Feature Request]: Ability to download episodes??? HOT 1
- [Bug]: No torrent found error when trying to play a hentai anime HOT 1
- [Feature Request]: mpv shader HOT 2
- [Bug]: App just hard crashed after updating (Windows) HOT 4
- [Bug]: A JavaScript error occurred in the main process HOT 2
- [Feature Request]: Add a chat option
- [Feature Request]: Torrent Tracker List Configuration HOT 1
- [Bug]: playback glitches HOT 3
- [ 2 Bugs]: Appimage/flatpak sometimes crashes when viewing video or using the detailed torrent selection UI HOT 3
- [Feature Request]: Better performance for lower end cpu's HOT 2
- [Feature Request]: Completely disable Discord Rich Presence HOT 5
- [Bug]: can't stream "Attack on Tian Season 3 Episode 14" HOT 4
- [Bug]: miru is streaming Aot S03E01 HOT 5
- [Bug]: rss feeds stop updating after a few hrs
- [Feature Request]: move away from material-symbols
- [Bug]: miru playing wrong file HOT 1
- [Bug]: Wrong title Selected for the Monster Anime HOT 1
- [Bug]: next playable episode is detected incorrectly
- [Feature Request]: community theme showcase
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 miru.