sdk打包工具, node_modules 依赖模块含有node语法,为兼容语法写的打包模板
- https://firecodes.github.io/webpack5-sdk-template
- https://firecodes.github.io/webpack5-sdk-template/dist/
内置 Webpack5 + ES6 + Babel + sass+css
Clone this repo and npm install.
npm i --force
npm start
npm run build
npm run build:sdk
npm run build:ts:sdk
- 直播1(mediasoup-server)
- 直播2(socket.io)
- https://github.com/versatica/mediasoup-demo
- https://github.com/dvgis/dc-sdk
- https://github.com/taniarascia/webpack-boilerplate
- https://github.com/socketio/socket.io-client/tree/4.2.0
- https://github.com/videsk/webpack-library-template
- https://github.com/socketio/socket.io-client
- browserify + babelify + gulp (参考 mediasoup-demo)
- rollup + gulp (参考 dc-sdk、socket.io-client)
- Webpack5 (参考 webpack )
npm run docs:dev
npm run docs:build
- https://www.jianshu.com/p/36c4d4ee65f5
- https://blog.csdn.net/qq_17175013/article/details/119753486
- https://webpack.docschina.org/configuration/output/#outputlibrary
- ES Modules (ESM):
- CommonJS (CJS):
- AMD (Asynchronous Module Definition):
- UMD (Universal Module Definition):