Parcel.js and @ionic/core

Once @ionic/core npm package donwloaded in my project (under node_modules), How can I use it with Parcel.js apps bundler?
Can someone provide and quick example?

I don’t know Parcel but maybe something like adding an import in your main js file like with rollup

import '@ionic/core';

or using the loader like with webpack

import { defineCustomElements as ionicElements } from '@ionic/core/loader';
ionicElements(window);

maybe that will work?