From e88ba9c448d2cf80f28898cb0e6a0ca65df6c801 Mon Sep 17 00:00:00 2001 From: Ken Date: Tue, 19 Feb 2019 23:38:31 -0800 Subject: [PATCH] adding code to build site statically --- webpack.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 3094b67..cb5590c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -63,13 +63,13 @@ module.exports = function() { new CopyWebpackPlugin([ ...Object.keys(entries).map(entry => { return { - from: `${entry}/**/*`, - to: path.resolve(__dirname, 'build', entry) + from: `${entry}/src/**/*`, + to: path.resolve(__dirname, 'build') }; }), { from: 'assets/**/*', - to: path.resolve(__dirname, 'build', 'assets') + to: path.resolve(__dirname, 'build') }, { from: 'index.html',