From 07b5a1b4796d73e5ea8a17e5f50338d493ac52f6 Mon Sep 17 00:00:00 2001 From: Amir Zahedi Date: Mon, 26 Feb 2024 15:48:10 +0800 Subject: [PATCH] feat: Adds mount dom class to build manifest (#215) --- .changeset/calm-panthers-learn.md | 5 +++++ packages/gdu/config/webpack/webpack.config.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/calm-panthers-learn.md diff --git a/.changeset/calm-panthers-learn.md b/.changeset/calm-panthers-learn.md new file mode 100644 index 00000000..b24eeee0 --- /dev/null +++ b/.changeset/calm-panthers-learn.md @@ -0,0 +1,5 @@ +--- +'gdu': patch +--- + +Fixes mount call in build manifest diff --git a/packages/gdu/config/webpack/webpack.config.ts b/packages/gdu/config/webpack/webpack.config.ts index 3465d1fb..f282df23 100644 --- a/packages/gdu/config/webpack/webpack.config.ts +++ b/packages/gdu/config/webpack/webpack.config.ts @@ -372,7 +372,7 @@ export const baseOptions = ( ]), !isDev && new GuruBuildManifest({ - mountDOMId: guruConfig.mountDOMId, + ...guruConfig, outputDir: !isMultiEnv && buildEnv === 'prod' ? resolve(PROJECT_ROOT, 'dist')