We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Works fine with plain JavaScript, but doesn't work with Typescript. Here is the repository for reproducing: https://github.com/AntonPilyak/rollup-image-bug
The text was updated successfully, but these errors were encountered:
@AntonPilyak if you create a type declaration for png then this works as expected.
Simply create a type declaration file *.d.ts and add the following to it: declare module '*.png'. now when you run build it will resolve as expected.
*.d.ts
declare module '*.png'
Sorry, something went wrong.
@AntonPilyak if you create a type declaration for png then this works as expected. Simply create a type declaration file *.d.ts and add the following to it: declare module '*.png'. now when you run build it will resolve as expected.
I've done this, and still receive the error.
No branches or pull requests
Works fine with plain JavaScript, but doesn't work with Typescript. Here is the repository for reproducing: https://github.com/AntonPilyak/rollup-image-bug
The text was updated successfully, but these errors were encountered: