From 411a179f66d9b2e014e29cc8045008086a78491c Mon Sep 17 00:00:00 2001 From: Phuoc Nguyen Date: Mon, 25 Nov 2019 08:47:48 +0700 Subject: [PATCH] Move robot and sitemap to public --- package.json | 2 +- robots.txt => public/robots.txt | 0 sitemap.xml => public/sitemap.xml | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename robots.txt => public/robots.txt (100%) rename sitemap.xml => public/sitemap.xml (100%) 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