mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 09:34:19 +08:00
22 lines
420 B
JavaScript
22 lines
420 B
JavaScript
import resolve from 'rollup-plugin-node-resolve';
|
|
|
|
export default {
|
|
input: 'dist/index.js',
|
|
output: {
|
|
file: 'dist/fesm5.js',
|
|
format: 'es'
|
|
},
|
|
external: (id) => {
|
|
// inline @ionic/core deps
|
|
if (id === '@ionic/core') {
|
|
return false;
|
|
}
|
|
// anything else is external
|
|
return !(id.startsWith('.') || id.startsWith('/'));
|
|
},
|
|
plugins: [
|
|
resolve({
|
|
module: true,
|
|
})
|
|
]
|
|
}; |