Webpack: convert git-loader to TypeScript

This commit is contained in:
Alex Gleason
2022-10-14 15:52:02 -05:00
parent b770cbb175
commit 239ccb807a
3 changed files with 15 additions and 9 deletions

View File

@@ -6,7 +6,7 @@ import type { RuleSetRule } from 'webpack';
const rule: RuleSetRule = {
test: resolve(__dirname, '../../app/soapbox/utils/code.js'),
use: {
loader: resolve(__dirname, '../loaders/git-loader.js'),
loader: resolve(__dirname, '../loaders/git-loader.ts'),
},
};