Skip to content

Commit

Permalink
Fix rsdoctor skipLibCheck issue
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Oct 10, 2024
1 parent a26613e commit 2cdb41e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/src/plugins/rsdoctor/RsdoctorPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
* LICENSE file in the root directory of this source tree.
*/

import {RsdoctorRspackMultiplePlugin} from '@rsdoctor/rspack-plugin';
import type {PluginConfig} from '@docusaurus/types';

function createRsdoctorBundlerPlugin({isServer}: {isServer: boolean}) {
// TODO Shitty workaround to bypass lib typechecking
// package does not work will with skipLibCheck false
// // eslint-disable-next-line
// const {RsdoctorWebpackMultiplePlugin} = require('@rsdoctor/webpack-plugin');
// eslint-disable-next-line
const {RsdoctorRspackMultiplePlugin} = require('@rsdoctor/rspack-plugin');

// return new RsdoctorWebpackMultiplePlugin({
return new RsdoctorRspackMultiplePlugin({
Expand Down

0 comments on commit 2cdb41e

Please sign in to comment.