Skip to content

Commit

Permalink
fix extension problem
Browse files Browse the repository at this point in the history
  • Loading branch information
mizok committed Apr 18, 2022
1 parent 17ce5cd commit 3b4f443
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
title: webpack-template
date:
author: Mizok
<<<<<<< HEAD
version: 0.9.0
=======
version: 0.9.3
>>>>>>> 694d8e1816d745e2a5576d5c8f017ed5263ad53d
version: 0.9.1
tags:
---

Expand Down
1 change: 1 addition & 0 deletions webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ const config = (env: any, argv: any): webpack.Configuration => {
]
},
resolve: {
extensions:['.ts','.tsx','.js','.jsx','json'],
alias: {
'@img': resolve(__dirname, './src/assets/images/'),
'@font': resolve(__dirname, './src/assets/fonts/')
Expand Down

0 comments on commit 3b4f443

Please sign in to comment.