Skip to content

Commit

Permalink
rollup dev setting
Browse files Browse the repository at this point in the history
  • Loading branch information
iway1 committed Dec 14, 2022
1 parent 3715c3f commit 9d3e7af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/trpc-panel/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import postcss from "rollup-plugin-postcss";
import path from "path";
const isWatching =
process.argv.includes("-w") || process.argv.includes("--watch");
console.log("Is watching is " + isWatching);
export default [
{
input: "src/index.ts",
Expand Down Expand Up @@ -56,7 +55,7 @@ export default [
[
"@babel/preset-react",
{
development: true,
development: isWatching,
},
],
],
Expand Down

0 comments on commit 9d3e7af

Please sign in to comment.