mirror of
https://github.com/chaoticbackup/chaoticbackup.github.io.git
synced 2026-08-21 16:14:37 -05:00
webpack to accept ts extensions
This commit is contained in:
@@ -12,7 +12,7 @@ const config = {
|
||||
entry: ['@babel/polyfill', `./src/components/index.js`],
|
||||
|
||||
resolve: {
|
||||
extensions: ['.js', '.jsx'],
|
||||
extensions: ['.js', '.jsx', '.ts', '.tsx'],
|
||||
},
|
||||
|
||||
devServer: {
|
||||
|
||||
Reference in New Issue
Block a user