diff --git a/packages/context-bridge/package.json b/packages/context-bridge/package.json index b860559..5429b59 100644 --- a/packages/context-bridge/package.json +++ b/packages/context-bridge/package.json @@ -18,6 +18,7 @@ "crypto-js": "^4.1.1", "electron": "^22.0.0", "rollup": "^3.8.1", - "rollup-plugin-typescript2": "^0.34.1" + "rollup-plugin-typescript2": "^0.34.1", + "typeorm": "^0.3.11" } } diff --git a/packages/context-bridge/rollup.config.js b/packages/context-bridge/rollup.config.js index a1f8fc2..dac9361 100644 --- a/packages/context-bridge/rollup.config.js +++ b/packages/context-bridge/rollup.config.js @@ -20,10 +20,10 @@ module.exports = [ 'electron': ['app'] } }), + resolve(), typescript({ exclude: 'node_modules/**', }), - resolve(), ], }, { diff --git a/packages/context-bridge/tsconfig.json b/packages/context-bridge/tsconfig.json index e77661e..4fc4ace 100644 --- a/packages/context-bridge/tsconfig.json +++ b/packages/context-bridge/tsconfig.json @@ -4,6 +4,7 @@ "module": "esnext", "noImplicitAny": true, "removeComments": true, + "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, "esModuleInterop": true,