upgraded redux store to typescript

This commit is contained in:
andres alcocer
2022-11-25 16:45:52 -05:00
parent 510343d772
commit f12c466c6c
30 changed files with 778 additions and 165 deletions

View File

@@ -23,6 +23,9 @@ module.exports = () => {
path: path.resolve(__dirname, 'dist'),
clean: true,
},
resolve: {
extensions: ['.tsx', '.ts', '.js'],
},
optimization: {
runtimeChunk: 'single',
moduleIds: 'deterministic',
@@ -82,6 +85,11 @@ module.exports = () => {
loader: 'babel-loader',
},
},
{
test: /\.tsx?$/,
use: 'ts-loader',
exclude: /node_modules/,
},
{
test: /\.svg$/,
exclude: /node_modules/,