Comments (6)
This will probably require adaptations on the Scala.js side because it is currently not possible to emit several modules from a Scala.js project.
from scalajs-bundler.
I've tried a manual way, create separated project, but it's just so many tasks to do. So, I moved back to just one project for now. Do you have any workaround idea to share? @julienrf
from scalajs-bundler.
Hi, no I have no better suggestion :(
from scalajs-bundler.
Are these issues related? Is code splitting the same as emitting multiple modules, usually for the purpose of progressively loading code for performance reasons?:
from scalajs-bundler.
@julienrf I'm just curious, now that scalajs has enabled code-splitting for quite some time, how do power users such as yourself and @sjrd use scalajs bundler to effectively code split? Or do you use different tooling for that altogether?
I have a very large scalajs project that is starting to suffer from long load times and I'm hesitant to break it up into multiple subprojects, or even if I did I'm unsure how to then stitch them all back together into a single page app? Or must it then be a multi page app?
from scalajs-bundler.
Hello @evbo, I currently donβt do code splitting with scalajs-bundler. Someone needs to pioneer this area!
from scalajs-bundler.
Related Issues (20)
- is npm ci supported? HOT 3
- The Strict Mode emitted by Scala.js is not always preserved
- Add first-class support for frozen lockfiles HOT 7
- Generated source map points to incorrect URLs
- BundlingMode.LibraryOnly ignores `require` and `js.import`
- Documentation reports incorrect version HOT 3
- installJsdom may installs jsdom outside of the target directory
- Support `packageManager` in package.json
- Support Node Version Manager (NVM) HOT 2
- Error parsing webpack stats output HOT 6
- Providing `nodeExecCommand` setting HOT 4
- Yarn 2 throws `Unsupported option name ("--mutex")`
- sourcemap not work with BundlingMode.LibraryAndApplication
- Release v0.21.0 HOT 1
- Use with IntegrationTests
- BundlingMode.LibraryAndApplication() does not work with sourcemap to false
- digital envelope routines::unsupported on node versions > 16 HOT 3
- `AssertionError` on sbt 1.8.0 HOT 4
- webpackExtraArgs is ignored
- Could this be published with SBT 1.9.x?
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 scalajs-bundler.