message: fix(copy-code2): fix vuepress-shared issue
diff: import { getDirname, path } from "@vuepress/utils";
  import { useSassPalettePlugin } from "vuepress-plugin-sass-palette";
  -import { getLocales } from "vuepress-shared/node";
  +import { addViteSsrNoExternal, getLocales } from "vuepress-shared/node";
  import { copyCodeLocales } from "./locales.js";
  import { logger } from "./utils.js";
  @@ -34,6 +34,10 @@ export const copyCodePlugin =
  CODE_COPY_LOCALES: userCopyCodeLocales,
  }),
  + extendsBundlerOptions: (config: unknown, app): void => {
  + addViteSsrNoExternal({ app, config }, "vuepress-shared");
  + },
  +
  clientConfigFile: path.resolve(__dirname, "../client/config.js"),
  };
  };
  