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

compatibility with TypeScript #8

Closed
jhuss opened this issue Jan 18, 2019 · 2 comments
Closed

compatibility with TypeScript #8

jhuss opened this issue Jan 18, 2019 · 2 comments

Comments

@jhuss
Copy link
Contributor

jhuss commented Jan 18, 2019

on an extjs app that I working is in typescript and webpack (using ts-loader)
adding the extjs-loader module, the app keep trying to load a .js files, inspecting the code at this line:

retVal = [prefix.replace(prefix, pathMap[prefix]) + className.replace(prefix, '').replace(/\./g, '/') + '.js'];

removing the + '.js' string concatenated at the end is working, and app load correctly

@zmagyar
Copy link
Owner

zmagyar commented Jan 18, 2019

That's only working if js is listed in in webpack config. Anyway if you make a PR I'm happy to merge.

@zmagyar
Copy link
Owner

zmagyar commented Jan 21, 2019

Merged PR and published under v0.0.11

@zmagyar zmagyar closed this as completed Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants