Comments (2)
Have you tried Rollup? It uses tree-shaking to get quite nice minimal bundles.
I'm using Browserify to create two bundles (bundle.js
for my local code, vendor.js
for Scent and other rarely-changing dependencies), it works quite well in my case.
from scent.
Haven't used Rollup before, but since the Scent is not that big and everything is kinda tied together. I don't see a point in using it. I am sure that bundle size could be optimized more and definitely don't include eg. whole lodash, but that's something for later.
Using module bundler is of course win-win situation, but I suppose there are still people that just need bundle ready for use. Having dependencies inside the bundle can simplify things for some people, but other might get conflicts when using at least one of the dependency, so I want to keep those separate.
Eventually I would like to rewrite Scent using ES6 just to keep up with a good stuff and perhaps make this maintainable for more people.
from scent.
Related Issues (19)
- Any recommendations for tracking changes? HOT 3
- Allow triggering actions with no handlers? HOT 8
- Only first Node.onAdded callback is firing? HOT 6
- Adding an entity instead of array of components to engine? HOT 2
- Engine update invoked before engine start
- Expose component types from node type
- Register available component types within Engine
- Chained setting of data to component
- Replacing component doesn't trigger node change events HOT 5
- Make better tutorial and setup small demo HOT 2
- Release 0.8.3
- Make engine iterable over entities
- What is purpose of the System? HOT 9
- Triggering actions of the same type within single update
- Here's a simple TypeScript definition file for Scent. HOT 3
- An in-range update of debug is breaking the build 🚨 HOT 2
- An in-range update of debug is breaking the build 🚨 HOT 2
- A possibly useful tip to get component properties on entities. HOT 1
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 scent.