diff --git a/.github/workflows/playwright.yml b/.github/workflows/e2e.yml similarity index 97% rename from .github/workflows/playwright.yml rename to .github/workflows/e2e.yml index b9eaeb4..a9c69d7 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/e2e.yml @@ -1,4 +1,4 @@ -name: Playwright +name: E2E on: push: diff --git a/.github/workflows/test.yml b/.github/workflows/unit.yml similarity index 97% rename from .github/workflows/test.yml rename to .github/workflows/unit.yml index a701a5a..d28b0c7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/unit.yml @@ -1,4 +1,4 @@ -name: Test +name: Unit on: push: diff --git a/apps/vite-react/vite.config.ts b/apps/vite-react/vite.config.ts index e18192b..c27640d 100644 --- a/apps/vite-react/vite.config.ts +++ b/apps/vite-react/vite.config.ts @@ -5,14 +5,16 @@ import unplugin from '@pandabox/unplugin'; import { transform } from 'panda-plugin-ct'; import { componentTokens } from '../fixtures/tokens'; -const plugins = - process.env.NODE_ENV === 'production' - ? [ - unplugin.vite({ - transform: transform(componentTokens), - }), - ] - : []; +// TODO, split testing for this macro +// const plugins = +// process.env.NODE_ENV === 'production' +// ? [ +// unplugin.vite({ +// transform: transform(componentTokens), +// optimizeJs: false, +// }), +// ] +// : []; // https://vitejs.dev/config/ export default defineConfig({ @@ -24,5 +26,8 @@ export default defineConfig({ preview: { port: 3000, }, - plugins: [react(), ...plugins], + plugins: [ + react(), + //...plugins + ], });