Weather app (#10)

* feat: base class added and api

* feat: async method/conversions

* feat: added styling and ui

* feat: added some colors

* feat: project complete
This commit is contained in:
Smigz 2024-01-22 20:59:19 -05:00 committed by GitHub
parent 8cc79da6d9
commit 4d2291815a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 5771 additions and 0 deletions

34
weather/webpack.common.js Normal file
View file

@ -0,0 +1,34 @@
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
entry: {
index: './src/index.js',
},
plugins: [
new HtmlWebpackPlugin({
title: 'Weatherize',
}),
],
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist'),
clean: true,
},
module: {
rules: [
{
test: /\.css$/i,
use: ['style-loader', 'css-loader'],
},
{
test: /\.(png|svg|jpg|jpeg|gif)$/i,
type: 'asset/resource',
},
{
test: /\.(woff|woff2|eot|ttf|otf)$/i,
type: 'asset/resource',
},
],
},
};