Feature request: Multiple configuration flles
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript, tailwindcss
- Domain
- tooling
Research direction
Start by comparing the extension's current configuration handling with the referenced tailwind.config.js, customer-base-preset.js, and company_preset.js files. Reproduce the manual merge scenario and determine how nested presets or multiple configurations should be represented; done means the extension can use the original setup without manual merging and preserves the working configuration arrays.
Written by the indexing model from the issue text.
Description
I am testing this extension for my work and we are working with a more complex setup of tailwind. We are experiencing some difficulties with the configuration field. So i hope this feature can be added to the extension or maybe someone else is having an idea for an easy way to have this complete configuration in the extension.
We have 2 presets which are extending on each other and 1 tailwind config for our site itself.
For example:
Site tailwind.config.js is including a customer wide preset and this preset is also an extension on our company wide preset.
Tailwind.config.js (we have multiple sites in only repository, every site is having an tailwind.config.js file extending on the customer preset used by all sites in the repository)
const customerBase = require('../customer_base/customer-base-preset');
/** @type {import('tailwindcss').Config} */
module.exports = {
presets: [customerBase],
content: [
....
customer-base-preset.js
const companyPreset = require('@CompanyNPMPackage/company_preset');
/** @type {import('tailwindcss').Config} */
module.exports = {
presets: [companyPreset],
content: [
....
company_preset.js
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
....
At this moment: We need to manually merge the files into one file so we can add it to the browser extension. When one of the files is updated, we need to merge the files again and debugging is hard when it is not working correct. We experienced some issues at our first run and had to remove some parts of the arrays which are working correct in our tailwind building.
Ideally we would like to use the identical configuration as we are using in our complete installation. As an alternative we would like to see support for adding multiple configurations to the extension to simulate the original setup of the installation.
I hope my issue clear and you understand the reason of my feature request. We really like this extension at the first runs but this issue is holding us back to use it company wide. Thank you in advance.
- Dominant language
- No language data
- Stars
- 5
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from beyondcode/devtoolsfortailwind-community
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in beyondcode/devtoolsfortailwind-community
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
hemilabs/ui-monorepo#2332 ·
-
Help-Wanted Needs-Triage Package-Update
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/winget-pkgs#438662 ·
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
olcf/olcf-test-harness#278 · 1 comment ·