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 Requst: Add APIs which can be used in build scripts for @import-meta-env/cli #1633

Open
ylc395 opened this issue Dec 10, 2024 · 0 comments

Comments

@ylc395
Copy link

ylc395 commented Dec 10, 2024

import { transform } from '@import-meta-env/cli' // or other package name

transform({ // async or sync
  path: './dist',
  env: {
    MY_ENV_VARIABLE: 'hello world'
  }
})

So that users can integrate this tool into build scripts.

@ylc395 ylc395 changed the title Feature Requst: Add APIs which can be used in JS runtime for @import-meta-env/cli Feature Requst: Add APIs which can be used in build scripts for @import-meta-env/cli Dec 10, 2024
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

No branches or pull requests

1 participant