You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The console always prints a warning tip(SUCCESS WITH WARNINGS...) if a sub-package has a build command: rollup -c, when I run rush rebuild in the root directory.
What's even weirder is that it just says there's a warning, but it doesn't provide any details about the warning.
If I run directly the command (rollup -c) in the sub-package directory, no warning will be printed.
So, from my opinion, I just think there is incompatibility in rush and rollup.
Repro steps
create a sub-package.
install rollup in this sub-package.
create a source file "./src/index.js". export const a = 1; console.log("test:", a)
create a config file for rollup: rollup.config.js: module.exports = { input: "src/index.js" }
add a script command in package.json: "build": "rollup -c".
run run rebuild in the root directory.
Details
The text was updated successfully, but these errors were encountered:
zhangxuan615
changed the title
[rush] Running rush rebuild to run rollup -c cause a warning tip.
[rush] Running rush rebuild to run rollup -c causes a warning tip.
Jul 5, 2024
Summary
The console always prints a warning tip(
SUCCESS WITH WARNINGS...
) if a sub-package has a build command: rollup -c, when I runrush rebuild
in the root directory.What's even weirder is that it just says there's a warning, but it doesn't provide any details about the warning.
If I run directly the command (rollup -c) in the sub-package directory, no warning will be printed.
So, from my opinion, I just think there is incompatibility in
rush
androllup
.Repro steps
export const a = 1; console.log("test:", a)
module.exports = { input: "src/index.js" }
run rebuild
in the root directory.Details
The text was updated successfully, but these errors were encountered: