-
Notifications
You must be signed in to change notification settings - Fork 2
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
build: modular assembly #196
Conversation
"from": "./src/autocomplete/databases/!(yql)/**/*" | ||
}, | ||
] | ||
}] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eslint rule for blocking cross imports
"./mysql": "./dist/databases/mysql/index.js", | ||
"./postgresql": "./dist/databases/postgresql/index.js", | ||
"./yql": "./dist/databases/yql/index.js" | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modular export
146ff97
to
834809d
Compare
build.js
Outdated
outfile: 'dist/index.js', | ||
tsconfig: './tsconfig.build.json', | ||
}); | ||
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure there's no way to do write it differently? If not, at least write a comment explaining why you need to disable it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the script has been rewritten, there is no more comment
see gravity-ui/rfc#14