1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-09-08 21:30:50 +02:00

Rename public -> dist

This commit is contained in:
Phuoc Nguyen
2019-11-23 12:55:25 +07:00
parent 2bc973f4d3
commit f1b7a2bc59
3 changed files with 6 additions and 6 deletions

View File

@@ -1,10 +1,10 @@
{
"name": "csslayout",
"scripts": {
"copy": "cp client/index.html public && cp robots.txt public && cp sitemap.xml public",
"copy": "cp client/index.html dist && cp robots.txt dist && cp sitemap.xml dist",
"dev": "npm run copy && webpack --mode development",
"dev-server": "npm run copy && webpack-dev-server",
"prebuild": "rm -rf public/* && npm run copy",
"prebuild": "rm -rf dist/* && npm run copy",
"build": "webpack --mode production",
"export": "react-snap",
"postbuild": "npm run export"
@@ -29,7 +29,7 @@
"webpack-dev-server": "^3.9.0"
},
"reactSnap": {
"source": "public",
"source": "dist",
"minifyHtml": {
"collapseWhitespace": false,
"removeComments": false