File tree Expand file tree Collapse file tree 4 files changed +14
-44
lines changed
Expand file tree Collapse file tree 4 files changed +14
-44
lines changed Original file line number Diff line number Diff line change 8787 "@rollup/plugin-node-resolve" : " ^15.2.3" ,
8888 "chai" : " ^4.3.7" ,
8989 "codecov" : " ^3.8.3" ,
90- "copy-files-from-to" : " 3.8 .0" ,
90+ "copy-files-from-to" : " ^3.9 .0" ,
9191 "eslint" : " ^8.9.0" ,
9292 "jsdoc" : " ^3.6.10" ,
9393 "karma" : " ^6.4.2" ,
Original file line number Diff line number Diff line change 1+
12const babel = require ( '@rollup/plugin-babel' ) . default ;
23
34const builds = {
4- input : [ 'src/main/js/index.js' ] ,
5-
6- // ✅ MediaPipe bundle edilmesin
7- external : [
8- '@mediapipe/selfie_segmentation'
9- ] ,
10-
11- // ✅ loglevel "this is undefined" warning
12- onwarn ( warning , warn ) {
13- if (
14- warning . code === 'THIS_IS_UNDEFINED' &&
15- warning . id &&
16- warning . id . includes ( 'loglevel.min.js' )
17- ) {
18- return ;
19- }
20- warn ( warning ) ;
21- } ,
22-
23- output : [
24- {
25- name : 'webrtc_adaptor' ,
26- file : 'dist/browser/webrtc_adaptor.js' ,
27- format : 'umd'
28- }
29- ] ,
5+ input : [ 'src/main/js/index.js' ] ,
6+ output : [ {
7+ name : 'webrtc_adaptor' ,
8+ file : 'dist/browser/webrtc_adaptor.js' ,
9+ format : 'umd'
10+ } ,
11+ ] ,
12+ plugins : [ babel ( { babelHelpers : 'bundled' } ) ]
3013
31- plugins : [
32- babel ( { babelHelpers : 'bundled' } )
33- ]
3414} ;
3515
36- module . exports = builds ;
16+ module . exports = builds
Original file line number Diff line number Diff line change @@ -32,18 +32,7 @@ const builds = {
3232 nodeResolve ( ) ,
3333 commonjs ( ) ,
3434 css ( )
35- ] ,
36- // ✅ loglevel "this is undefined" warning
37- onwarn ( warning , warn ) {
38- if (
39- warning . code === 'THIS_IS_UNDEFINED' &&
40- warning . id &&
41- warning . id . includes ( 'loglevel.min.js' )
42- ) {
43- return ;
44- }
45- warn ( warning ) ;
46- } ,
35+ ]
4736
4837} ;
4938
Original file line number Diff line number Diff line change 1- * -v2.html
1+ * -v2.html
2+ v2 /
You can’t perform that action at this time.
0 commit comments