This plugin is target to inject C# code for edge-js。
edge.func({
source: function(){__inline("camera.cs")},
references: [
path.join(__static, "face/Intel.RealSense.dll")
],
})
/*
#r "System.Drawing.dll"
using System;
using System.Drawing;
using Intel.RealSense;
using System.Threading.Tasks;
//some code
*/
yarn add babel-plugin-inline-file -D
{
"plugins": [
"babel-plugin-inline-file"
]
}