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 5
5
build_script = "esbuild app/javascript/*.* --bundle --outdir=app/assets/builds"
6
6
7
7
if ( `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
9
9
else
10
10
run %(npm set-script build "#{ build_script } ")
11
11
end
Original file line number Diff line number Diff line change 6
6
build_script = "rollup -c rollup.config.js"
7
7
8
8
if ( `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
10
10
else
11
11
run %(npm set-script build "#{ build_script } ")
12
12
end
Original file line number Diff line number Diff line change 6
6
build_script = "webpack --config webpack.config.js"
7
7
8
8
if ( `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
10
10
else
11
11
run %(npm set-script build "#{ build_script } ")
12
12
end
You can’t perform that action at this time.
0 commit comments