mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-06 21:03:47 +02:00
refactor: use export = syntax for utility packages (#7295)
This commit is contained in:
parent
a2c993bf9a
commit
1a9bdd1a4e
2 changed files with 2 additions and 7 deletions
|
@ -6,9 +6,7 @@
|
|||
*/
|
||||
|
||||
import remark from 'remark';
|
||||
// Import from the transpiled lib because Babel can't transpile `export =`
|
||||
// TODO change to `../index` after migrating to ESM
|
||||
import npm2yarn from '../../lib/index';
|
||||
import npm2yarn from '../index';
|
||||
import vfile from 'to-vfile';
|
||||
import path from 'path';
|
||||
import mdx from 'remark-mdx';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue