code2prompt
code2prompt copied to clipboard
.webpack directory not included - dot notation (.dir-name) directories
Hi, how can I make it so certain directories prefixed with dot notation (.dir-name) are included in my output? In my code base, I have a .webpack directory that contains all the project webpack configuration files, most of them .js files. However when I run my command I see that this directory is not present in the output.txt file.
This is the command I'm executing:
code2prompt ./ --exclude-folders="vendor,node_modules,build" --exclude-files="composer.lock,package-lock.json" --output=output.txt
For which I would expect in the output a source tree like this:
my-event-calendar
├── phpcs.xml
├── templates
│ ├── event-details.php
│ └── current-event-category.php
├── js
│ └── src
│ ├── editor.ts
│ ├── config.ts
│ ├── frontend.tsx
│ ├── blocks
│ │ └── current-event-category
│ │ ├── index.tsx
│ │ └── edit.tsx
│ ├── common.ts
│ └── time-conversion.ts
├── tsconfig.json
├── scss
│ └── src
│ ├── frontend.scss
│ └── current-event-category.scss
├── package-lock.json
├── src
│ ├── Post_Types
│ │ ├── Event
│ │ │ └── Config.php
│ │ ├── Config_Interface.php
│ │ └── Event.php
│ ├── Meta
│ │ └── Event_Data.php
│ ├── Scripts
│ │ ├── Scripts.php
│ │ └── Manifest.php
│ ├── Event_Banner.php
│ ├── Shortcode.php
│ ├── Traits
│ │ ├── Singleton.php
│ │ └── Memoize.php
│ ├── Blocks
│ │ └── Current_Event_Category.php
│ ├── Taxonomies
│ │ ├── Category.php
│ │ ├── Racing_Track.php
│ │ ├── Country
│ │ │ └── Config.php
│ │ ├── Country.php
│ │ ├── Config_Interface.php
│ │ └── Racing_Track
│ │ └── Config.php
│ └── Utils.php
├── composer.lock
├── package.json
├── .webpack
│ ├── config.prod.js
│ ├── css-loader.config.js
│ ├── externals.js
│ ├── entries.js
│ ├── helpers
│ │ ├── typescript-context.js
│ │ └── typescript-context.d.ts
│ ├── lib
│ │ └── postcss-clean.js
│ ├── postcss.config.js
│ └── babel.config.js
├── composer.json
└── my-event-calendar.php
However, the .webpack directory and the files below it are not part of the output.
How can I make this happen?