Skip to content

Commit

Permalink
fix(bundling): update snapshots for copy assets plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz committed Aug 22, 2024
1 parent 042049c commit bdc7f76
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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: {
Expand Down Expand Up @@ -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,
Expand All @@ -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: {
Expand Down Expand Up @@ -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,
Expand All @@ -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: {
Expand Down

0 comments on commit bdc7f76

Please sign in to comment.