mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
9 lines
269 B
JavaScript
9 lines
269 B
JavaScript
// https://babeljs.io/docs/babel-plugin-syntax-dynamic-import
|
|
|
|
// There is no example code on babel website
|
|
|
|
import('./prettier.mjs');
|
|
import(prettier);
|
|
import('./prettier.mjs').then(module => console.log(module));
|
|
import(prettier).then(module => console.log(module));
|