Skip to content

Commit

Permalink
revert vite.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vursen committed Oct 13, 2023
1 parent 2a8eac9 commit 73539fe
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { UserConfigFn } from 'vite';
// @ts-ignore can not be resolved until Flow generates base Vite config
import { overrideVaadinConfig } from './vite.generated';
import { useLocalWebComponents } from '../../shared/web-components-vite-plugin';
// import { useLocalWebComponents } from '../../shared/web-components-vite-plugin';

const customConfig: UserConfigFn = (env) => ({
// Here you can add custom Vite parameters
Expand All @@ -15,11 +15,15 @@ const customConfig: UserConfigFn = (env) => ({
},

// Use local version of web-components, disabled by default
// To use this un-comment the lines below and change the path to
// the absolute path of your web-components repo's node_modules
// To use this un-comment the lines below and change the path to
// the absolute path of your web-components repo's node_modules
// folder
// DO NOT COMMIT THESE CHANGES!
plugins: [useLocalWebComponents('/Users/vursen/dev/vaadin/web-components/node_modules')]
/*
plugins: [
useLocalWebComponents('/path/to/web-components/node_modules')
]
*/
});

export default overrideVaadinConfig(customConfig);

0 comments on commit 73539fe

Please sign in to comment.