Answer the question
In order to leave comments, you need to log in
How to teach WebStorm to see "wrong" imports?
I am using babel-plugin-transform-es2015-modules-simple-amd which transforms the view code
import x from '/path/to/x';
import y from '/path/to/y';
doSomething();
export default x + y;
define(['/path/to/x', '/path/to/y'], function (x, y) {
doSomething();
return x + y;
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question