xiot / fusion-react-esbuild Goto Github PK
View Code? Open in Web Editor NEWUsing esbuild with a fusion application
Using esbuild with a fusion application
Server bundles may not be needed, but could be used to keep the size of the final build small.
Don't bundle the server side code, and instead rely on yarn to install the dependencies.
Pros:
If we bundle the server side code, then we could just add the compiled and treeshaken code to the list of artifacts instead of the full dependency tree. This should reduce the time required to get the server deployed and started on the production servers.
Pros:
fs.readFileSync(__dirname, './foo.thrift')
)In order to support legacy clients, and to keep the number of transferred files low, we will need to support bundling for the client app.
For development, bundles created via snowpack/esinstall
work great, however these may be too granular for production builds. Also, since these bundles are esm
, they will not work for legacy builds.
Support bundling for production release.
A build should be created for the server side that is
For modern clients, we can rely on the support of ESM + http2 to reduce bundling and initial download size.
For clients that do not support ESM (IE) we can vend traditional bundles.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.