Initial commit
This commit is contained in:
22
rollup.config.js
Normal file
22
rollup.config.js
Normal 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'],
|
||||
};
|
||||
Reference in New Issue
Block a user