UNPKG

@bazumax/capacitor-codepush

Version:
22 lines (20 loc) 526 B
import nodeResolve from '@rollup/plugin-node-resolve'; export default { input: 'dist/esm/index.js', output: { file: 'dist/plugin.js', format: 'iife', name: 'capacitorPlugin', // TODO: change this globals: { '@capacitor/core': 'capacitorExports', }, sourcemap: true, }, plugins: [ nodeResolve({ // allowlist of dependencies to bundle in // @see https://github.com/rollup/plugins/tree/master/packages/node-resolve#resolveonly resolveOnly: ['lodash'], }), ], };