Skip to content

Commit

Permalink
Resolve breaking change in Rollup v3 (#133)
Browse files Browse the repository at this point in the history
* fix(rollup): add --bundleConfigAsCjs to build script

* update(version): bumped version to 1.0.4
  • Loading branch information
mattgauf authored Dec 14, 2022
1 parent b8612d6 commit 0f5610e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/install/rollup/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
run "yarn add rollup @rollup/plugin-node-resolve"

say "Add build script"
build_script = "rollup -c rollup.config.js"
build_script = "rollup -c --bundleConfigAsCjs rollup.config.js"

if (`npx -v`.to_f < 7.1 rescue "Missing")
say %(Add "scripts": { "build": "#{build_script}" } to your package.json), :green
Expand Down
2 changes: 1 addition & 1 deletion lib/jsbundling/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Jsbundling
VERSION = "1.0.3"
VERSION = "1.0.4"
end

0 comments on commit 0f5610e

Please sign in to comment.