diff options
author | Anbraten <anton@ju60.de> | 2024-10-29 11:47:39 +0100 |
---|---|---|
committer | Anbraten <anton@ju60.de> | 2024-10-29 18:15:09 +0100 |
commit | 8dc72589cafd0881e234af489c4b3d643422f7e9 (patch) | |
tree | e2029633859a2ca528991efbdb5c39e4719367ff /webpack.config.js | |
parent | Merge pull request 'Update vitest monorepo to v2.1.4 (forgejo)' (#5737) from ... (diff) | |
download | forgejo-8dc72589cafd0881e234af489c4b3d643422f7e9.tar.xz forgejo-8dc72589cafd0881e234af489c4b3d643422f7e9.zip |
Add typescript
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webpack.config.js b/webpack.config.js index ebbc51a381..4662a30db5 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -178,13 +178,13 @@ export default { }, }, { - test: /\.js$/i, + test: /\.(js|ts)$/i, exclude: /node_modules/, use: [ { loader: 'esbuild-loader', options: { - loader: 'js', + loader: 'ts', target: 'es2020', }, }, |