diff --git a/package.json b/package.json index 87adb44..2397030 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "csslayout", "scripts": { - "copy": "rm -rf dist && mkdir dist && cp robots.txt dist && cp sitemap.xml dist", + "copy": "rm -rf dist && mkdir dist && cp -rf public/* dist", "dev": "npm run copy && webpack --mode development", "dev-server": "npm run copy && webpack-dev-server", "build": "npm run copy && webpack --mode production && npm run export", diff --git a/robots.txt b/public/robots.txt similarity index 100% rename from robots.txt rename to public/robots.txt diff --git a/sitemap.xml b/public/sitemap.xml similarity index 100% rename from sitemap.xml rename to public/sitemap.xml