Adding wol plugin

This commit is contained in:
Myx
2022-09-11 17:13:25 +02:00
parent 79cd222cce
commit bc4c19d5b5
52 changed files with 2044 additions and 0 deletions

22
wol/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: 'capacitorwol',
globals: {
'@capacitor/core': 'capacitorExports',
},
sourcemap: true,
inlineDynamicImports: true,
},
{
file: 'dist/plugin.cjs.js',
format: 'cjs',
sourcemap: true,
inlineDynamicImports: true,
},
],
external: ['@capacitor/core'],
};