-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency rollup to v3 #410
Conversation
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: package-lock.json
|
@@ -1,6 +1,6 @@ | |||
import resolve from "rollup-plugin-node-resolve"; | |||
import commonjs from "rollup-plugin-commonjs"; | |||
import { terser } from "rollup-plugin-terser"; | |||
import { terser } from "rollup-plugin-minification"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rollup-plugin-terserモジュールが起因でコンフリクトが発生していたので別のモジュールを使うように変更しました。この修正はこちらのissueを参考にしています。
@@ -38,7 +38,7 @@ | |||
"scripts": { | |||
"prepare": "npm run build && npm run doc", | |||
"build": "npm run clean && tsc -p ./ && npm run bundle && npm run format", | |||
"bundle": "rollup -c rollup.config.js", | |||
"bundle": "rollup -c rollup.config.js --bundleConfigAsCjs", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[!] RollupError: Node tried to load your configuration file as CommonJS even though it is likely an ES module. To resolve this, change the extension of your configuration to ".mjs", set "type": "module" in your package.json file or pass the "--bundleConfigAsCjs" flag.
ビルド時にこのようなエラーが出ていたので、configファイルをCommonJSとしてバンドルする--bundleConfigAsCjs
オプションを追加しました。(これはv3以降に追加されたオプションなので、v3以前は指定しなくてもCommonJSとしてバンドルされていた?)
This PR contains the following updates:
^2.75.7
->^3.0.0
Configuration
📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.