1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-05 05:37:29 +02:00

Move robot and sitemap to public

This commit is contained in:
Phuoc Nguyen
2019-11-25 08:47:48 +07:00
parent 9958443846
commit 411a179f66
3 changed files with 1 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
{ {
"name": "csslayout", "name": "csslayout",
"scripts": { "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": "npm run copy && webpack --mode development",
"dev-server": "npm run copy && webpack-dev-server", "dev-server": "npm run copy && webpack-dev-server",
"build": "npm run copy && webpack --mode production && npm run export", "build": "npm run copy && webpack --mode production && npm run export",