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

configuration from package.json #1

Closed
dalcib opened this issue Sep 24, 2020 · 1 comment · Fixed by #2
Closed

configuration from package.json #1

dalcib opened this issue Sep 24, 2020 · 1 comment · Fixed by #2

Comments

@dalcib
Copy link

dalcib commented Sep 24, 2020

Very nice project. Congratulations.
Would it be possible to get the configurations from the pachage.json?
Like this:

{
  "name": "package",
  "version": "0.2.0",
  "license": "MIT",
  "esbuild":  {
    "entry": "./index.js",
    "outfile": "./bundle.js",
    "external": ["react", "react-dom"],
    "loader": { ".js": "jsx", ".png": "base64" },
    "minify": true
  }
}
@bpierre
Copy link
Owner

bpierre commented Sep 28, 2020

Excellent idea! Added in #2

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 a pull request may close this issue.

2 participants