Mercurial > zeropaste
changeset 492:3038dddd33cb
Adjust build script (matches rails default)
author | nanaya <me@nanaya.net> |
---|---|
date | Tue, 17 Jan 2023 02:50:24 +0900 |
parents | cd84252dd0bf |
children | 30cf29ac9294 |
files | package.json |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/package.json Tue Jan 17 02:40:22 2023 +0900 +++ b/package.json Tue Jan 17 02:50:24 2023 +0900 @@ -13,7 +13,7 @@ }, "version": "0.1.0", "scripts": { - "build": "esbuild app/javascript/application.js --bundle --outfile=app/assets/builds/application.js", + "build": "esbuild app/javascript/application.js app/javascript/*.* --bundle --outdir=app/assets/builds --sourcemap --public-path=assets", "lint": "semistandard app/assets/javascripts/**/*.js app/javascript/**/*.js" }, "type": "module"