diff --git a/libs/remix-ui/theme-module/src/lib/remix-ui-theme-module.tsx b/libs/remix-ui/theme-module/src/lib/remix-ui-theme-module.tsx index a168855dc3..ea239f9ee9 100644 --- a/libs/remix-ui/theme-module/src/lib/remix-ui-theme-module.tsx +++ b/libs/remix-ui/theme-module/src/lib/remix-ui-theme-module.tsx @@ -1,5 +1,6 @@ -import { ThemeModule } from '../../types/theme-module'; -import './remix-ui-theme-module.module.css'; +import React from 'react' +import { ThemeModule } from '../../types/theme-module' +import './remix-ui-theme-module.module.css' /* eslint-disable-next-line */ export interface RemixUiThemeModuleProps { diff --git a/libs/remix-ui/theme-module/tsconfig.json b/libs/remix-ui/theme-module/tsconfig.json index 8bd701c578..c7faa114e0 100644 --- a/libs/remix-ui/theme-module/tsconfig.json +++ b/libs/remix-ui/theme-module/tsconfig.json @@ -1,7 +1,7 @@ { "extends": "../../../tsconfig.base.json", "compilerOptions": { - "jsx": "react-jsx", + "jsx": "react", "allowJs": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, diff --git a/nx.json b/nx.json index 4b6417bc93..89415d9af6 100644 --- a/nx.json +++ b/nx.json @@ -145,5 +145,13 @@ "remix-ui-theme-module": { "tags": [] } + }, + "targetDependencies": { + "build": [ + { + "target": "build", + "projects": "dependencies" + } + ] } }