From 07358418363d073bbbd98f2d69d4ba9fdcd74501 Mon Sep 17 00:00:00 2001
From: Pavel Prichodko <14926950+prichodko@users.noreply.github.com>
Date: Fri, 25 Feb 2022 18:30:42 +0100
Subject: [PATCH] Improve examples build setup
---
examples/channel/index.html | 4 ++++
examples/channel/package.json | 2 ++
examples/community/index.html | 4 ++++
examples/community/package.json | 2 ++
4 files changed, 12 insertions(+)
diff --git a/examples/channel/index.html b/examples/channel/index.html
index 575f9374..ccc97709 100644
--- a/examples/channel/index.html
+++ b/examples/channel/index.html
@@ -8,6 +8,10 @@
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
+
Channel | Status
diff --git a/examples/channel/package.json b/examples/channel/package.json
index ca9304e8..261cd7d8 100644
--- a/examples/channel/package.json
+++ b/examples/channel/package.json
@@ -2,8 +2,10 @@
"name": "channel",
"version": "0.0.0",
"source": "index.html",
+ "browserslist": "> 0.5%, last 2 versions, not dead, not ios_saf < 13",
"scripts": {
"dev": "parcel",
+ "prebuild": "rm -rf dist",
"build": "parcel build"
},
"dependencies": {
diff --git a/examples/community/index.html b/examples/community/index.html
index c0123f4d..cfe51a9a 100644
--- a/examples/community/index.html
+++ b/examples/community/index.html
@@ -8,6 +8,10 @@
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
+
Community | Status
diff --git a/examples/community/package.json b/examples/community/package.json
index aa6dc036..2551264a 100644
--- a/examples/community/package.json
+++ b/examples/community/package.json
@@ -2,8 +2,10 @@
"name": "community",
"version": "0.0.0",
"source": "./index.html",
+ "browserslist": "> 0.5%, last 2 versions, not dead, not ios_saf < 13",
"scripts": {
"dev": "parcel",
+ "prebuild": "rm -rf dist",
"build": "parcel build"
},
"dependencies": {