Parcel.js and @ionic/core

#1

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?

#2

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?