File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 55build_script = "esbuild app/javascript/*.* --bundle --outdir=app/assets/builds"
66
77if ( `npx -v` . to_f < 7.1 rescue "Missing" )
8- say %(Add "scripts": { "build": "#{ build_script } " to your package.json) , :green
8+ say %(Add "scripts": { "build": "#{ build_script } " } to your package.json) , :green
99else
1010 run %(npm set-script build "#{ build_script } ")
1111end
Original file line number Diff line number Diff line change 66build_script = "rollup -c rollup.config.js"
77
88if ( `npx -v` . to_f < 7.1 rescue "Missing" )
9- say %(Add "scripts": { "build": "#{ build_script } " to your package.json) , :green
9+ say %(Add "scripts": { "build": "#{ build_script } " } to your package.json) , :green
1010else
1111 run %(npm set-script build "#{ build_script } ")
1212end
Original file line number Diff line number Diff line change 66build_script = "webpack --config webpack.config.js"
77
88if ( `npx -v` . to_f < 7.1 rescue "Missing" )
9- say %(Add "scripts": { "build": "#{ build_script } " to your package.json) , :green
9+ say %(Add "scripts": { "build": "#{ build_script } " } to your package.json) , :green
1010else
1111 run %(npm set-script build "#{ build_script } ")
1212end
You can’t perform that action at this time.
0 commit comments