Mercurial > zeropaste
diff package.json @ 492:3038dddd33cb
Adjust build script (matches rails default)
author | nanaya <me@nanaya.net> |
---|---|
date | Tue, 17 Jan 2023 02:50:24 +0900 |
parents | 361ab9e7ffad |
children | 30cf29ac9294 |
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"