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

fix(vue-cli-plugin-image-modernizer): Error Cannot find module "./rmSync-polyfill.ts #80

Merged
merged 1 commit into from
Jul 2, 2021

Conversation

EgorFront
Copy link
Contributor

Due to the fact that the file extension was specified here when importing rmSync-polyfill.ts

Extension did not change to js after build
So there is a Error Error Cannot find module "./rmSync-polyfill.ts

Example of dist/index.js

image

So I removed extenstion when importing file

@Calvin-LL Calvin-LL changed the title FIx (vue-cli-plugin-image-modernizer): Error Cannot find module "./rmSync-polyfill.ts fix (vue-cli-plugin-image-modernizer): Error Cannot find module "./rmSync-polyfill.ts Jul 2, 2021
@Calvin-LL Calvin-LL changed the title fix (vue-cli-plugin-image-modernizer): Error Cannot find module "./rmSync-polyfill.ts fix(vue-cli-plugin-image-modernizer): Error Cannot find module "./rmSync-polyfill.ts Jul 2, 2021
@Calvin-LL
Copy link
Owner

Can't believe I missed this. Thank you.

@Calvin-LL Calvin-LL merged commit 871d61c into Calvin-LL:main Jul 2, 2021
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 this pull request may close these issues.

None yet

2 participants