add account overview, cleanup
Change-Id: I176af7a7688f38cb30eb7d65fa3e00e55f10da6f
diff --git a/client/webpack.config.js b/client/webpack.config.js
index 82caf43..0b67ce9 100644
--- a/client/webpack.config.js
+++ b/client/webpack.config.js
@@ -5,6 +5,7 @@
import { resolve } from 'path'
import HtmlWebpackPlugin from 'html-webpack-plugin'
+import CopyWebpackPlugin from 'copy-webpack-plugin'
import { fileURLToPath } from 'url';
import { dirname } from 'path';
@@ -13,9 +14,12 @@
const mode = process.env.NODE_ENV || 'development'
let entry = [resolve(__dirname, 'src', 'index.js')]
-let plugins = [new HtmlWebpackPlugin({
- template: resolve(__dirname, 'src', 'index.ejs')
-})]
+let plugins = [
+ new HtmlWebpackPlugin({template: resolve(__dirname, 'src', 'index.ejs')}),
+ new CopyWebpackPlugin({
+ patterns: [{ from: resolve(__dirname, 'public'), to: resolve(__dirname, 'dist') }]
+ })
+]
let devtool = undefined
let babelLoaderPlugins = ["@babel/plugin-transform-runtime"]