Skip to content

Commit

Permalink
Update vite.config.mts.ejs
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Jan 6, 2024
1 parent 301ad4b commit b033f04
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions generators/vue/templates/vite.config.mts.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,14 @@
limitations under the License.
-%>
import { fileURLToPath, URL } from 'node:url';
import { dirname, join } from 'node:path';
import { existsSync } from 'node:fs';

import { mergeConfig, defineConfig } from 'vite';
import {
<%_ if (microfrontend) { _%>
mergeConfig,
<%_ } _%>
defineConfig,
} from 'vite';
import vue from '@vitejs/plugin-vue';
import copy from 'rollup-plugin-copy';
<%_ if (microfrontend) { _%>
Expand Down

0 comments on commit b033f04

Please sign in to comment.