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

Can't compile because "src" is excluded #3

Closed
tlgreg opened this issue Dec 11, 2020 · 4 comments · Fixed by #4
Closed

Can't compile because "src" is excluded #3

tlgreg opened this issue Dec 11, 2020 · 4 comments · Fixed by #4

Comments

@tlgreg
Copy link

tlgreg commented Dec 11, 2020

In package.json the svelte field refers to src/index.js but it is not included in the files field so the component can't be compiled in a rollup-plugin-svelte (or svelte-loader) project.

@robinscholz
Copy link
Owner

@tlgreg Thanks for reporting the issue. Including src/index.js in files should fix this, correct?

@robinscholz robinscholz linked a pull request Dec 11, 2020 that will close this issue
@robinscholz
Copy link
Owner

@tlgreg Should be fixed in 1.0.2. Could you check if it’s working for you now?

@hmaesta
Copy link

hmaesta commented Dec 11, 2020

Not working here... GitHub Actions is failing to find relative path.

Screen Shot 2020-12-11 at 11 11 56

@robinscholz
Copy link
Owner

Forgot to include the actual svelte component within files 🙄

Fixed in 1.0.5! If there’s anything else I missed, please open another issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants