Update website build script (#17577)
This commit is contained in:
1 parent
7939a821c4
commit
4973687969
5 files changed
+59
-72
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import prettierPackageManifest from "./lib/package-manifest.mjs";
|
||||
import * as prettier from "./lib/standalone.mjs";
|
||||
import * as prettier from "./lib/prettier/standalone.mjs";
|
||||
|
||||
const pluginLoadPromises = new Map();
|
||||
async function importPlugin(plugin) {
|
||||
@@ -58,9 +58,7 @@ const docExplorerPlugin = {
|
||||
};
|
||||
|
||||
const plugins = [
|
||||
...prettierPackageManifest.builtinPlugins.map((plugin) =>
|
||||
createPlugin(plugin),
|
||||
),
|
||||
...prettierPackageManifest.plugins.map((plugin) => createPlugin(plugin)),
|
||||
docExplorerPlugin,
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user