We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47bc309 commit d3f5ad9Copy full SHA for d3f5ad9
code/core/scripts/entries.ts
@@ -28,7 +28,13 @@ export const getEntries = (cwd: string) => {
28
define('src/preview-api/index.ts', ['browser', 'node'], true),
29
define('src/manager-api/index.ts', ['browser', 'node'], true, ['react']),
30
define('src/router/index.ts', ['browser', 'node'], true, ['react']),
31
- define('src/components/index.ts', ['browser', 'node'], true, ['react', 'react-dom']),
+ define(
32
+ 'src/components/index.ts',
33
+ ['browser', 'node'],
34
+ true,
35
+ ['react', 'react-dom'],
36
+ ['prettier'] // the syntax highlighter uses prettier/standalone to format the code
37
+ ),
38
define('src/theming/index.ts', ['browser', 'node'], true, ['react']),
39
define('src/theming/create.ts', ['browser', 'node'], true, ['react']),
40
define('src/docs-tools/index.ts', ['browser', 'node'], true),
0 commit comments