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

Feature/custom esbuild #255

Merged
merged 5 commits into from
Apr 3, 2024

Conversation

sandeep-vedam
Copy link
Contributor

Added support for custom esbuild plugin

src/configs/esbuild.es5.config.js Outdated Show resolved Hide resolved
let customConfig

if (process.env.LNG_CUSTOM_ESBUILD === 'true') {
customConfig = require(path.join(process.cwd(), 'esbuild.es6.config'))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about the env?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @ricardo-a-alves-alb ,
The ones that are mentioned in the env will be ignored here and the custom config takes the priority here.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've misread the configuration description. By env, I thought it meant like development, staging and production. But now I see that it's about es5 and es6.

Copy link
Contributor

@michielvandergeest michielvandergeest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@michielvandergeest michielvandergeest merged commit dddb603 into feature/custom-rollup Apr 3, 2024
3 checks passed
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.

3 participants