mirror of
https://github.com/enso-org/enso.git
synced 2024-12-21 19:52:14 +03:00
35 lines
618 B
TypeScript
35 lines
618 B
TypeScript
|
/** @file Configuration for vite. */
|
||
|
import * as vite from 'vite'
|
||
|
|
||
|
import config from './vite.config'
|
||
|
|
||
|
// =====================
|
||
|
// === Configuration ===
|
||
|
// =====================
|
||
|
|
||
|
/* eslint-disable @typescript-eslint/naming-convention */
|
||
|
|
||
|
export default vite.mergeConfig(
|
||
|
config,
|
||
|
vite.defineConfig({
|
||
|
resolve: {
|
||
|
extensions: [
|
||
|
'.mock.mjs',
|
||
|
'.mock.js',
|
||
|
'.mock.mts',
|
||
|
'.mock.ts',
|
||
|
'.mock.jsx',
|
||
|
'.mock.tsx',
|
||
|
'.mock.json',
|
||
|
'.mjs',
|
||
|
'.js',
|
||
|
'.mts',
|
||
|
'.ts',
|
||
|
'.jsx',
|
||
|
'.tsx',
|
||
|
'.json',
|
||
|
],
|
||
|
},
|
||
|
})
|
||
|
)
|