Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup config is incorrect #104

Open
blackfalcon opened this issue Dec 2, 2023 · 0 comments
Open

Rollup config is incorrect #104

blackfalcon opened this issue Dec 2, 2023 · 0 comments
Assignees
Labels
auro-flight not-reviewed Issue has not been reviewed by Auro team members Type: Bug Bug or Bug fixes

Comments

@blackfalcon
Copy link
Member

blackfalcon commented Dec 2, 2023

Please verify the version of auro-flight you have installed

@latest

Please describe the bug

Current code

input: 'index.js',

Should follow this pattern

  input: {
    ['[namespace]-[name]__bundled']: './index.js',
  },

This is suspected as the cause of the issue why the latest version of the auro-element is NOT appearing on the doc site. It is not clear what version is being loaded.

Produces a return
https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-flight@latest/dist/auro-flight__bundled.js

Does NOT produce a return
https://cdn.jsdelivr.net/npm/@aurodesignsystem/[email protected]/dist/auro-flight__bundled.js

Due to incorrect config, the v2.4.1 URL is the following
https://cdn.jsdelivr.net/npm/@aurodesignsystem/[email protected]/dist/index.js

Reproducing the error on the docsite

This issue cannot be reproduced on the Auro docsite

Expected behavior

Bundled asset matches the currently established naming convention.the

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

Additional context

Discussed in #101

Originally posted by blackfalcon December 1, 2023

Exit criteria

This issue can be closed once the rollup config is corrected and the preferred asset is released via npm.

@blackfalcon blackfalcon added Type: Bug Bug or Bug fixes not-reviewed Issue has not been reviewed by Auro team members auro-flight labels Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auro-flight not-reviewed Issue has not been reviewed by Auro team members Type: Bug Bug or Bug fixes
Projects
None yet
Development

No branches or pull requests

2 participants