You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
414 B
JavaScript
23 lines
414 B
JavaScript
import { defineConfig } from 'vite';
|
|
import { createVuePlugin } from 'vite-plugin-vue2';
|
|
import path from 'path';
|
|
|
|
export default defineConfig({
|
|
plugins: [ createVuePlugin() ],
|
|
server: {
|
|
port: 3000
|
|
},
|
|
resolve: {
|
|
alias: [
|
|
{
|
|
find: '@',
|
|
replacement: path.resolve(__dirname, 'src'),
|
|
},
|
|
],
|
|
},
|
|
build: {
|
|
chunkSizeWarningLimit: 600,
|
|
cssCodeSplit: false
|
|
},
|
|
});
|