This repository was archived by the owner on Nov 9, 2024. It is now read-only.

Description
Problem
Every build option that we have has the process validation, so if you try to import tippy.js to a project that is built for modern browsers and so it doesn't have a building step, it's going to fail because process is not defined at validation.ts:46.
Solution
It would be nice to have a .mjs output that does not transpile ES2015+ code and removes all references to process by assuming it is in a production environment.
This approach has been done at Redux reduxjs/redux#3143 and, as stated there by Tim, is similar to the one of Vue vuejs/vue#7110.