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

Add --copy-files to build/dev scripts #35

Open
sandro-pasquali opened this issue Oct 16, 2023 · 0 comments
Open

Add --copy-files to build/dev scripts #35

sandro-pasquali opened this issue Oct 16, 2023 · 0 comments

Comments

@sandro-pasquali
Copy link

Hi!

It might be useful to mention in the docs that for JavaScript build/dev developers might want to update the package generated by https://github.com/vadimdemedes/create-ink-app/blob/main/templates/js/_package.json, and add --copy-files, eg:

  "scripts": {
    "build": "babel --out-dir=dist source --copy-files",
    "dev": "babel --out-dir=dist --watch source --copy-files",

I think it will surprise people if lookups fail for non-js files in their code, and they might not know how to carry non-compiled files over into their dist.

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