Skip to content

Commit

Permalink
Removed unused bundle configs for bedrock-react adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
somebodyawesome-dev authored Jul 14, 2024
1 parent dcc6a06 commit 6855c34
Show file tree
Hide file tree
Showing 4 changed files with 492 additions and 29 deletions.
5 changes: 3 additions & 2 deletions packages/js/bedrock/rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ import replace from "@rollup/plugin-replace";
import strip from "@rollup/plugin-strip";
import terser from "@rollup/plugin-terser";
import alias from "@rollup/plugin-alias";
import json from "@rollup/plugin-json";

import { RollupOptions } from "rollup";
import esbuild from "rollup-plugin-esbuild";

import { generateDts } from "../../../pipeline/utils/rollup/generateDts";
import { generateOutputConfig } from "../../../pipeline/utils/rollup/generateOutputConfig";
import { resolve } from "path";
import json from "@rollup/plugin-json";

const isProduction = process.env.NODE_ENV === "production";
const packageName = "@nlux/bedrock";
Expand All @@ -32,8 +33,8 @@ const packageConfig: () => Promise<RollupOptions[]> = async () => [
},
],
}),
json(),
commonjs(),
json(),
esbuild(),
isProduction &&
strip({
Expand Down
1 change: 0 additions & 1 deletion packages/react/bedrock/package.tpl.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"@rollup/plugin-terser": "^0",
"@rollup/plugin-typescript": "^11",
"@rollup/plugin-alias": "^5",
"@rollup/plugin-json": "^6",
"rollup": "^4",
"rollup-plugin-dts": "^6",
"rollup-plugin-esbuild": "^6",
Expand Down
2 changes: 0 additions & 2 deletions packages/react/bedrock/rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import replace from "@rollup/plugin-replace";
import strip from "@rollup/plugin-strip";
import terser from "@rollup/plugin-terser";
import alias from "@rollup/plugin-alias";
import json from "@rollup/plugin-json";
import { RollupOptions } from "rollup";
import esbuild from "rollup-plugin-esbuild";
import { generateDts } from "../../../pipeline/utils/rollup/generateDts";
Expand All @@ -30,7 +29,6 @@ const packageConfig: () => Promise<RollupOptions[]> = async () => [
},
],
}),
json(),
commonjs(),
esbuild(),
isProduction &&
Expand Down
Loading

0 comments on commit 6855c34

Please sign in to comment.