Skip to content

Commit a92e492

Browse files
committed
Resolve breaking change in Rollup v3 (#133)
* fix(rollup): add --bundleConfigAsCjs to build script * update(version): bumped version to 1.0.4
1 parent d0d4e9a commit a92e492

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/install/rollup/install.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
run "yarn add rollup @rollup/plugin-node-resolve"
44

55
say "Add build script"
6-
build_script = "rollup -c rollup.config.js"
6+
build_script = "rollup -c --bundleConfigAsCjs rollup.config.js"
77

88
if (`npx -v`.to_f < 7.1 rescue "Missing")
99
say %(Add "scripts": { "build": "#{build_script}" } to your package.json), :green

lib/jsbundling/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Jsbundling
2-
VERSION = "1.0.3"
2+
VERSION = "1.0.4"
33
end

0 commit comments

Comments
 (0)