Skip to content

Commit 81ea525

Browse files
authored
Ignore nested node_modules and delete postcss (#1828)
* Ignore nested node_modules and delete postcss Add an explicit '!**/node_modules/**' ignore pattern in Gruntfile.js so nested node_modules folders are excluded from file sets. Remove modules/user-directory/postcss.config.js (Tailwind + Autoprefixer) as the per-module PostCSS config is no longer required. * Remove redundant node_modules ignore pattern Simplify Gruntfile.js main.src globs by removing the duplicate '!node_modules/**' entry. The existing '!**/node_modules/**' already excludes node_modules at any depth (including top-level), so this cleans up the pattern list without changing behavior.
1 parent b061348 commit 81ea525

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ module.exports = function( grunt) {
190190
main: {
191191
src: [
192192
'**',
193-
'!node_modules/**',
193+
'!**/node_modules/**',
194194
'!build/**',
195195
'!admin/form-builder/assets/**',
196196
'!assets/css/*.less',

modules/user-directory/postcss.config.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)