Skip to content

Conversation

@artonge
Copy link
Contributor

@artonge artonge commented May 27, 2025

@artonge artonge self-assigned this May 27, 2025
@artonge artonge requested a review from susnux May 27, 2025 11:45
@artonge artonge added type: bug 🐛 Something isn't working 3. to review 3️⃣ Waiting for reviews 2. developing 2️⃣ Work in progress and removed 3. to review 3️⃣ Waiting for reviews labels May 27, 2025
@artonge artonge marked this pull request as draft May 27, 2025 11:58
@artonge artonge force-pushed the artonge/fix_input_subpaths_of_output branch from c180be3 to 76afcd1 Compare May 27, 2025 12:28
This will be an issue as of rollup v5.40.2: rollup/rollup#5956

This also remove the warning mentioned here: #171

Signed-off-by: Louis Chemineau <[email protected]>
@artonge artonge force-pushed the artonge/fix_input_subpaths_of_output branch from 76afcd1 to d35b9d0 Compare May 27, 2025 12:33
@artonge artonge added 3. to review 3️⃣ Waiting for reviews and removed 2. developing 2️⃣ Work in progress labels May 27, 2025
@artonge artonge marked this pull request as ready for review May 27, 2025 13:07
artonge added a commit to nextcloud/activity that referenced this pull request Jun 2, 2025
artonge added a commit to nextcloud/activity that referenced this pull request Jun 2, 2025
// Output dir is the project root to allow main style to be generated within `/css`
outDir: '',
outDir: 'js',
assetsDir: '../',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not work assets are still put into js.
E.g. when using this on the first run wizard it creates:

  • js/css/firstrunwizard-style.css

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird, it is working with activity. I'll try to reproduce

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, I could reproduce.

For posterity, I tried setting a relative path ../css/[...] in assetFilesName, but vite does not like relative paths in there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review 3️⃣ Waiting for reviews type: bug 🐛 Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants