From 99d4d14235be4a0967e673ebd2869d4698a801c6 Mon Sep 17 00:00:00 2001 From: p-wojt Date: Thu, 13 Jan 2022 22:16:43 +0100 Subject: [PATCH] add static directory in build run --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3976f2c..30df6e8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "scripts": { "start": "webpack-dev-server", - "build": "webpack --config webpack.config.prod.js && cp index.html dist/index.html && cp app.css dist/app.css" + "build": "webpack --config webpack.config.prod.js && cp index.html dist/index.html && cp app.css dist/app.css && cp -r static dist/static" }, "author": { "name": "Patryk Wojtiuk",