From 68c1d1d35d41a25f97cfe22cde4ea4b8ca3b4ee3 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Mon, 25 Apr 2022 04:05:41 -0500 Subject: [PATCH] Removed unused webpack configuration files. --- webpack.common.js | 21 --------------------- webpack.dev.js | 13 ------------- webpack.prod.js | 12 ------------ 3 files changed, 46 deletions(-) delete mode 100644 webpack.common.js delete mode 100644 webpack.dev.js delete mode 100644 webpack.prod.js diff --git a/webpack.common.js b/webpack.common.js deleted file mode 100644 index ce16281..0000000 --- a/webpack.common.js +++ /dev/null @@ -1,21 +0,0 @@ -export default { - entry: { - audioshowkit: "./src/audioshowkit.js" - }, - module: { - rules: [ - { - test: /\.html$/i, - loader: "html-loader", - }, - { - test: /\.css$/i, - use: ['style-loader', 'css-loader'], - } - ] - }, - output: { - filename: "[name].js", - path: "./dist" - } -}; \ No newline at end of file diff --git a/webpack.dev.js b/webpack.dev.js deleted file mode 100644 index d53fc34..0000000 --- a/webpack.dev.js +++ /dev/null @@ -1,13 +0,0 @@ -import merge from "webpack-merge"; -import webpackCommon from "./webpack.common"; - -devConfig = { - mode: "development", - devtools: "inline-source-map", - - devServer: { - static: "./dist" - } -} - -export default merge(webpackCommon, devConfig); \ No newline at end of file diff --git a/webpack.prod.js b/webpack.prod.js deleted file mode 100644 index c03e0a2..0000000 --- a/webpack.prod.js +++ /dev/null @@ -1,12 +0,0 @@ -import merge from "webpack-merge" -import webpackCommon from "./webpack.common" - -prodConfig = { - mode: "production", - output: { - filename: "[name].js", - path: "./public" - } -} - -export default merge(webpackCommon, prodConfig); \ No newline at end of file