Skip to content

Commit

Permalink
Fix bundler command and remove unused plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
takameyer committed Aug 11, 2023
1 parent 1678f76 commit 5280a1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/realm-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"../realm-common:bundle"
],
"files": [
"rollup.config.mjs",
"rollup.config.js",
"src/**/*.ts",
"src/**/*.tsx"
],
Expand Down Expand Up @@ -54,7 +54,6 @@
"@babel/preset-typescript": "^7.15.0",
"@babel/runtime": "^7.15.4",
"@realm/app-importer": "*",
"@rollup/plugin-commonjs": "^25.0.3",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-typescript": "^9.0.2",
"@testing-library/jest-native": "^4.0.13",
Expand Down
3 changes: 1 addition & 2 deletions packages/realm-react/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
//
////////////////////////////////////////////////////////////////////////////

import commonjs from "@rollup/plugin-commonjs";
import nodeResolve from "@rollup/plugin-node-resolve";
import typescript from "@rollup/plugin-typescript";
import dts from "rollup-plugin-dts";
Expand All @@ -38,7 +37,7 @@ export default [
sourcemap: true,
},
],
plugins: [commonjs(), nodeResolve(), typescript({ noEmitOnError: true })],
plugins: [nodeResolve(), typescript({ noEmitOnError: true })],
external: ["realm", "react", "@realm/common", "lodash"],
},
{
Expand Down

0 comments on commit 5280a1f

Please sign in to comment.