Skip to content

Feat/add vite config new glob system#48

Merged
FreakyWizard merged 11 commits into
feat/add-vite-configfrom
feat/add-vite-config-new-glob-system
Aug 12, 2025
Merged

Feat/add vite config new glob system#48
FreakyWizard merged 11 commits into
feat/add-vite-configfrom
feat/add-vite-config-new-glob-system

Conversation

@FreakyWizard
Copy link
Copy Markdown
Contributor

@FreakyWizard FreakyWizard commented Aug 12, 2025

Add new glob system.

Fix bugs

Babel can't be deleted seems to be needed by WP, and react needs to be enabled??

run eslint, fix issues

import tailwindcss from '@tailwindcss/vite'; in vite-config is causing Eslint errors


toolkit/packages/vite-config/src/configs/brave.js
   1:1   error    Resolve error: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in toolkit/node_modules/@tailwindcss/vite/package.json
    at exportsNotFound (node:internal/modules/esm/resolve:296:10)
    

import { braveConfig } from './configs/brave.js';
import { braveBlocksConfig } from './configs/brave-theme-blocks.js';

export { braveConfig, braveBlocksConfig };


Also causing issues



Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in toolkit/node_modules/@tailwindcss/vite/package.json
Occurred while linting toolkit/packages/vite-config/src/index.js:1
Rule: "import/named"


Oh ja en er is nog wat niet helemaal lekker met de Eslint config v


Oops! Something went wrong! :(

ESLint: 8.57.1

You are linting "./web/app/themes/**/resources/scripts/**/*.jsx", but all of the files matching the glob pattern "./web/app/themes/**/resources/scripts/**/*.jsx" are ignored.

If you don't want to lint these files, remove the pattern "./web/app/themes/**/resources/scripts/**/*.jsx" from the list of arguments passed to ESLint.


@FreakyWizard FreakyWizard requested review from a team, WybeBosch, Yannicvanveen, YvetteNikolov, hnccox-yard, laravdiemen and rivanuff and removed request for a team August 12, 2025 11:54
@FreakyWizard FreakyWizard changed the base branch from main to feat/add-vite-config August 12, 2025 11:54
@FreakyWizard FreakyWizard merged commit c43809d into feat/add-vite-config Aug 12, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants