Comments (3)
I'd be happy to take a look at this, not sure what approach you had in mind, but Id assume adding in tree shaking and minification etc into the webpack config ?
from obs-websocket-js.
Yeah, definitely the tree shaking at least.
I had an uglify plugin in grunt, but it doesn't seem to support some es6 functionality. Being that I'm not generating docs right now Grunt doesn't really have a purpose.
There's just not much sense in letting this project be 135kb full of extra crpyto functionality.
EDIT: As some additional info on this, here's the built file.
from obs-websocket-js.
Swapped over to webpack entirely, re-added a .min
build which comes in right around 40kb.
It could certainly go smaller - still pulling in a lot of excess for sha256, but I'm content with that for the moment at least.
I'll likely end up just copying only the sha256 functions necessary directly into this project and removing the dependency.. Or look for a smaller package.
from obs-websocket-js.
Related Issues (20)
- How to set local_file of Media Source HOT 1
- Event MediaInputChanged
- How to get the virtual camera data flow
- Is it possible to query the status of a DeckLink output? HOT 1
- SetSourceSettings not working
- Possible to use for updating stream key? HOT 1
- SetRecordingFolder not working HOT 1
- Cannot use namespace 'EventEmitter' as a type. HOT 8
- OBS crash when calling SetSceneItemEnabled in batch mode on websocket via Node only
- 微信小程序构建npm 提示找不到npm的入口文件
- 'CurrentSceneChanged' event is in the event instructions but doesn't exist any more.
- GetSceneList disconnect socket HOT 1
- Unable to "SetStreamServiceSettings" after stopping the stream
- Trying to understand the Audio Mixer slider logic with dB
- Send videofile to source TypeError: obs.send is not a function HOT 1
- Request: Change Text(GDI+) content ?
- Create group and insert inputs to group
- SetSceneSceneTransitionOverride type does not support providing null to remove
- Control views and docks
- how to create a media source by obs-websocket-js
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 obs-websocket-js.