diff --git a/_dev/apps/ui/package.json b/_dev/apps/ui/package.json index f7cb2bcc8..e819fac12 100644 --- a/_dev/apps/ui/package.json +++ b/_dev/apps/ui/package.json @@ -2,6 +2,7 @@ "name": "marketing-with-google-ui", "version": "1.4.4", "private": true, + "type": "module", "engines": { "pnpm": ">=7.14.2", "node": ">=20", diff --git a/_dev/apps/ui/vite.config.ts b/_dev/apps/ui/vite.config.ts index 0ab007da4..aa60a2a5a 100644 --- a/_dev/apps/ui/vite.config.ts +++ b/_dev/apps/ui/vite.config.ts @@ -2,7 +2,7 @@ import { defineConfig } from 'vite'; import vue from "@vitejs/plugin-vue"; import path from 'path'; import cssInjectedByJsPlugin from 'vite-plugin-css-injected-by-js'; -import VitePluginReactRemoveAttributes from 'vite-plugin-react-remove-attributes'; +//import VitePluginReactRemoveAttributes from 'vite-plugin-react-remove-attributes'; // https://vitejs.dev/config/ export default defineConfig(({ mode }) => ({ @@ -18,9 +18,9 @@ export default defineConfig(({ mode }) => ({ } }), cssInjectedByJsPlugin(), - VitePluginReactRemoveAttributes({ + /*VitePluginReactRemoveAttributes({ attributes: ['data-test-id'], - }), + }),*/ { name: 'asset-path-fixer', enforce: 'post',