-
Notifications
You must be signed in to change notification settings - Fork 19
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
Not working with webpack alias #144
Comments
nataliazanolli
changed the title
Not working with wepack alias
Not working with webpack alias
Oct 25, 2018
FYI: you can solve this by configuring the alias mapping in your https://flow.org/en/docs/config/options/#toc-module-name-mapper-regex-string
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I install now the package flow-ide, and when I import the type flow like:
import type { Acao } from 'BPMTypes/Instancia';
it's not working, only work when I import like:
import type { Acao } from '../../types/Instancia';
I'm using the alias of webpack:
module.exports = { resolve: { alias: { 'BPMTypes': path.resolve(__dirname, '../src/bpm/types'), }, }, };
The text was updated successfully, but these errors were encountered: