diff --git a/packages/workspace/src/generators/preset/__snapshots__/preset.spec.ts.snap b/packages/workspace/src/generators/preset/__snapshots__/preset.spec.ts.snap index 1e85fa19d9b92..d155365fd64bc 100644 --- a/packages/workspace/src/generators/preset/__snapshots__/preset.spec.ts.snap +++ b/packages/workspace/src/generators/preset/__snapshots__/preset.spec.ts.snap @@ -74,6 +74,7 @@ exports[`preset should create files (preset = react-standalone bundler = vite) 1 import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react'; import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; +import { nxCopyAssetsPlugin } from '@nx/vite/plugins/nx-copy-assets.plugin'; export default defineConfig({ root: __dirname, @@ -89,7 +90,7 @@ export default defineConfig({ host: 'localhost', }, - plugins: [react(), nxViteTsPaths()], + plugins: [react(), nxViteTsPaths(), nxCopyAssetsPlugin(['*.md'])], // Uncomment this if you are using workers. // worker: { @@ -160,6 +161,7 @@ exports[`preset should create files (preset = vue-monorepo) 1`] = ` import { defineConfig } from 'vite'; import vue from '@vitejs/plugin-vue'; import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; +import { nxCopyAssetsPlugin } from '@nx/vite/plugins/nx-copy-assets.plugin'; export default defineConfig({ root: __dirname, @@ -175,7 +177,7 @@ export default defineConfig({ host: 'localhost', }, - plugins: [vue(), nxViteTsPaths()], + plugins: [vue(), nxViteTsPaths(), nxCopyAssetsPlugin(['*.md'])], // Uncomment this if you are using workers. // worker: { @@ -212,6 +214,7 @@ exports[`preset should create files (preset = vue-standalone) 1`] = ` import { defineConfig } from 'vite'; import vue from '@vitejs/plugin-vue'; import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; +import { nxCopyAssetsPlugin } from '@nx/vite/plugins/nx-copy-assets.plugin'; export default defineConfig({ root: __dirname, @@ -227,7 +230,7 @@ export default defineConfig({ host: 'localhost', }, - plugins: [vue(), nxViteTsPaths()], + plugins: [vue(), nxViteTsPaths(), nxCopyAssetsPlugin(['*.md'])], // Uncomment this if you are using workers. // worker: {