mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
252918b70c
ref https://linear.app/ghost/issue/DES-1021/create-posts-app Part of establishing React patterns in Ghost is to build a well-defined and fairly self-encapsulated app through which we can test assumptions and define best practices. Our guinea pig is Post analytics for this purpose. This PR creates a new React app (posts) using Shade (the new design system).
10 lines
294 B
JavaScript
10 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')
|
|
});
|
|
});
|