diff --git a/webv4/.gitignore b/webv4/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..e120441f216d37f47e1b8604bbe9ea95b1842b7f
--- /dev/null
+++ b/webv4/.gitignore
@@ -0,0 +1,18 @@
+# Ignore processed XJS files
+*.xjs.ssjs
+
+# Ignore non-example pages
+pages/*
+!pages/.examples
+
+# Ignore non-example sidebar modules
+sidebar/*
+!sidebar/.examples
+
+# Ignore non-example components
+components/*
+!components/.examples
+
+root/css/custom.css
+root/logo.gif
+