added root path alias, icons, improved framework semantics

This commit is contained in:
Daniel Ledda
2022-02-27 22:59:30 +01:00
parent 352f6d6b9a
commit 7fca44f6c0
25 changed files with 207 additions and 284 deletions

View File

@@ -15,7 +15,7 @@ const webpackConfig = {
test: /\.(ts|tsx)$/,
loader: "ts-loader",
include: [path.resolve(__dirname, "src")],
exclude: [/node_modules/]
exclude: [/node_modules/],
},
{
test: /.css$/,
@@ -30,18 +30,21 @@ const webpackConfig = {
}
}]
},
// {
// test: /\.(png|jpe?g|gif|ttf|woff2?|eot|svg)$/i,
// use: [
// {
// loader: "file-loader",
// },
// ],
// }
{
test: /\.(png|jpe?g|gif|ttf|woff2?|eot|svg)$/i,
use: [
{
loader: "file-loader",
},
],
}
]
},
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
extensions: [".tsx", ".ts", ".js"]
},