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 2
2
apply "#{ __dir__ } /../install_procfile.rb"
3
3
4
4
say "Install esbuild"
5
- run "yarn add esbuild"
5
+ run "yarn add --dev esbuild"
6
6
7
7
say "Add build script"
8
8
build_script = "esbuild app/javascript/*.* --bundle --sourcemap --format=esm --outdir=app/assets/builds --public-path=/assets"
Original file line number Diff line number Diff line change 3
3
4
4
say "Install rollup with config"
5
5
copy_file "#{ __dir__ } /rollup.config.js" , "rollup.config.js"
6
- run "yarn add rollup @rollup/plugin-node-resolve"
6
+ run "yarn add --dev rollup @rollup/plugin-node-resolve"
7
7
8
8
say "Add build script"
9
9
build_script = "rollup -c --bundleConfigAsCjs rollup.config.js"
Original file line number Diff line number Diff line change 3
3
4
4
say "Install Webpack with config"
5
5
copy_file "#{ __dir__ } /webpack.config.js" , "webpack.config.js"
6
- run "yarn add webpack webpack-cli"
6
+ run "yarn add --dev webpack webpack-cli"
7
7
8
8
say "Add build script"
9
9
build_script = "webpack --config webpack.config.js"
You can’t perform that action at this time.
0 commit comments