I am looking for some babel plugin which can transform the import statement to prefix the skypck cdn path by default. This is actually needed to auto transpile JS module imports in JSitor.com(An online JS editor)
// Basically the below code:
import * as React from 'react';
// Transpile to below using that plugin:
import * as React from 'https://cdn.skypack.dev/react';
I am looking for some babel plugin which can transform the import statement to prefix the skypck cdn path by default. This is actually needed to auto transpile JS module imports in JSitor.com(An online JS editor)
// Basically the below code:
// Transpile to below using that plugin: