Initial commit

This commit is contained in:
eskimo
2024-10-03 01:03:39 -04:00
commit 6a108e8f23
108 changed files with 2680 additions and 0 deletions

22
rollup.config.js Normal file
View File

@@ -0,0 +1,22 @@
export default {
input: 'dist/esm/index.js',
output: [
{
file: 'dist/plugin.js',
format: 'iife',
name: 'capacitorSockets',
globals: {
'@capacitor/core': 'capacitorExports',
},
sourcemap: true,
inlineDynamicImports: true,
},
{
file: 'dist/plugin.cjs.js',
format: 'cjs',
sourcemap: true,
inlineDynamicImports: true,
},
],
external: ['@capacitor/core'],
};