Skip to content

Commit

Permalink
fix keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
oussama Dahmaz authored and oussama Dahmaz committed Jun 7, 2024
1 parent f94d3f7 commit 6e600db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
16 changes: 2 additions & 14 deletions libs/domain/keywords/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,24 +1,12 @@
/// <reference types="vitest" />
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import viteTsConfigPaths from 'vite-tsconfig-paths';
import dts from 'vite-plugin-dts';
import * as path from 'path';
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';

export default defineConfig({
cacheDir: '../../../node_modules/.vite/domain-keywords',

plugins: [
dts({
entryRoot: 'src',
tsConfigFilePath: path.join(__dirname, 'tsconfig.lib.json'),
skipDiagnostics: true,
}),
react(),
viteTsConfigPaths({
root: '../../../',
}),
],
plugins: [react(), nxViteTsPaths()],

// Uncomment this if you are using workers.
// worker: {
Expand Down
3 changes: 2 additions & 1 deletion libs/pages/home/src/lib/widgets/keywordLog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ class KeywordLog extends Component<KeywordLogProps, KeywordLogState> {

this.onNewAcquisition = this.onNewAcquisition.bind(this);
this.applyKeywordsToListen = this.applyKeywordsToListen.bind(this);
this.handleKeywordsToListenChange = this.handleKeywordsToListenChange.bind(this);
this.handleKeywordsToListenChange =
this.handleKeywordsToListenChange.bind(this);
}

componentDidMount() {
Expand Down

0 comments on commit 6e600db

Please sign in to comment.