From 6622c10f87af916281d6ff0c4a8e5d9fc38177d0 Mon Sep 17 00:00:00 2001 From: Hiten Sharma Date: Tue, 9 Jan 2024 21:17:33 +0530 Subject: [PATCH] updated webpack config file --- {dist => docs}/HitenSharma_Resume.pdf | Bin {dist => docs}/asset/css/main.css | 0 {dist => docs}/asset/img/apple-touch-icon.png | Bin {dist => docs}/asset/img/email.svg | 0 {dist => docs}/asset/img/favicon-16x16.png | Bin {dist => docs}/asset/img/favicon-32x32.png | Bin {dist => docs}/asset/img/github.svg | 0 {dist => docs}/asset/img/hiten_sharma.svg | 0 {dist => docs}/asset/img/linkedin.svg | 0 {dist => docs}/asset/img/telegram.svg | 0 {dist => docs}/asset/js/main.js | 0 {dist => docs}/favicon.ico | Bin {dist => docs}/index.html | 0 webpack.config.js | 4 ++-- 14 files changed, 2 insertions(+), 2 deletions(-) rename {dist => docs}/HitenSharma_Resume.pdf (100%) rename {dist => docs}/asset/css/main.css (100%) rename {dist => docs}/asset/img/apple-touch-icon.png (100%) rename {dist => docs}/asset/img/email.svg (100%) rename {dist => docs}/asset/img/favicon-16x16.png (100%) rename {dist => docs}/asset/img/favicon-32x32.png (100%) rename {dist => docs}/asset/img/github.svg (100%) rename {dist => docs}/asset/img/hiten_sharma.svg (100%) rename {dist => docs}/asset/img/linkedin.svg (100%) rename {dist => docs}/asset/img/telegram.svg (100%) rename {dist => docs}/asset/js/main.js (100%) rename {dist => docs}/favicon.ico (100%) rename {dist => docs}/index.html (100%) diff --git a/dist/HitenSharma_Resume.pdf b/docs/HitenSharma_Resume.pdf similarity index 100% rename from dist/HitenSharma_Resume.pdf rename to docs/HitenSharma_Resume.pdf diff --git a/dist/asset/css/main.css b/docs/asset/css/main.css similarity index 100% rename from dist/asset/css/main.css rename to docs/asset/css/main.css diff --git a/dist/asset/img/apple-touch-icon.png b/docs/asset/img/apple-touch-icon.png similarity index 100% rename from dist/asset/img/apple-touch-icon.png rename to docs/asset/img/apple-touch-icon.png diff --git a/dist/asset/img/email.svg b/docs/asset/img/email.svg similarity index 100% rename from dist/asset/img/email.svg rename to docs/asset/img/email.svg diff --git a/dist/asset/img/favicon-16x16.png b/docs/asset/img/favicon-16x16.png similarity index 100% rename from dist/asset/img/favicon-16x16.png rename to docs/asset/img/favicon-16x16.png diff --git a/dist/asset/img/favicon-32x32.png b/docs/asset/img/favicon-32x32.png similarity index 100% rename from dist/asset/img/favicon-32x32.png rename to docs/asset/img/favicon-32x32.png diff --git a/dist/asset/img/github.svg b/docs/asset/img/github.svg similarity index 100% rename from dist/asset/img/github.svg rename to docs/asset/img/github.svg diff --git a/dist/asset/img/hiten_sharma.svg b/docs/asset/img/hiten_sharma.svg similarity index 100% rename from dist/asset/img/hiten_sharma.svg rename to docs/asset/img/hiten_sharma.svg diff --git a/dist/asset/img/linkedin.svg b/docs/asset/img/linkedin.svg similarity index 100% rename from dist/asset/img/linkedin.svg rename to docs/asset/img/linkedin.svg diff --git a/dist/asset/img/telegram.svg b/docs/asset/img/telegram.svg similarity index 100% rename from dist/asset/img/telegram.svg rename to docs/asset/img/telegram.svg diff --git a/dist/asset/js/main.js b/docs/asset/js/main.js similarity index 100% rename from dist/asset/js/main.js rename to docs/asset/js/main.js diff --git a/dist/favicon.ico b/docs/favicon.ico similarity index 100% rename from dist/favicon.ico rename to docs/favicon.ico diff --git a/dist/index.html b/docs/index.html similarity index 100% rename from dist/index.html rename to docs/index.html diff --git a/webpack.config.js b/webpack.config.js index aff971f..954ef3f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -8,7 +8,7 @@ module.exports = { }, output: { publicPath: '/', - path: path.resolve(__dirname, 'dist'), + path: path.resolve(__dirname, 'docs'), clean: true }, plugins: [ @@ -64,7 +64,7 @@ module.exports = { target: 'web', devServer: { static: { - directory: path.join(path.join(__dirname, 'dist'), 'asset') + directory: path.join(path.join(__dirname, 'docs'), 'asset') }, watchFiles: { paths: ['./src/*.*', './src/**/*.*'],