mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-27 12:53:13 +03:00
11 lines
294 B
JavaScript
11 lines
294 B
JavaScript
|
import adminXViteConfig from '@tryghost/admin-x-framework/vite';
|
||
|
import pkg from './package.json';
|
||
|
import {resolve} from 'path';
|
||
|
|
||
|
export default (function viteConfig() {
|
||
|
return adminXViteConfig({
|
||
|
packageName: pkg.name,
|
||
|
entry: resolve(__dirname, 'src/index.tsx')
|
||
|
});
|
||
|
});
|