create-ink-app icon indicating copy to clipboard operation
create-ink-app copied to clipboard

Add --copy-files to build/dev scripts

Open sandro-pasquali opened this issue 1 year ago • 0 comments

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.

sandro-pasquali avatar Oct 16 '23 07:10 sandro-pasquali