diff --git a/package.json b/package.json index 19aa822..345b350 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "dist": "npm run clean && npm run copy && webpack --progress --bail --env dist -p", "lint": "eslint ./src", "clean": "rimraf dist/*", - "copy": "copyfiles -f ./src/index.html ./src/favicon.ico ./dist", + "copy": "copyfiles -f ./src/index.html ./dist && copyfiles -u 1 \"./src/static/**\" ./dist", "release:major": "npm version prerelease && git push --follow-tags && npm publish --tag beta", "release:minor": "npm version prerelease && git push --follow-tags && npm publish --tag beta", "release:patch": "npm version prerelease && git push --follow-tags && npm publish --tag beta" diff --git a/src/index.html b/src/index.html index 6b6de33..73b3cea 100644 --- a/src/index.html +++ b/src/index.html @@ -6,6 +6,7 @@ +
APPLICATION CONTENT
diff --git a/src/static/README.md b/src/static/README.md new file mode 100644 index 0000000..c8eef65 --- /dev/null +++ b/src/static/README.md @@ -0,0 +1,6 @@ +# static + +Files and directories that you put in `static` will be copied to the +`dist/static` directory during the build step. Use it to provide +arbitrary static assets that can be referenced by path in your +application. diff --git a/src/favicon.ico b/src/static/favicon.ico similarity index 100% rename from src/favicon.ico rename to src/static/favicon.ico