diff --git a/.distignore b/.distignore
index 7a767aab7b021a9d02ccfebd7846d8ce16f2f778..9e1651db85a64a99f49b83f89c3e2c20fa9453d1 100755
--- a/.distignore
+++ b/.distignore
@@ -4,6 +4,7 @@
 .git
 .gitignore
 .gitlab-ci.yml
+.nvmrc
 .travis.yml
 .wordpress-org/*
 .DS_Store
@@ -26,6 +27,7 @@ phpcs.xml
 .phpcs.xml.dist
 phpcs.xml.dist
 README.md
+assets/src/*
 wp-cli.local.yml
 yarn.lock
 tests
@@ -34,3 +36,4 @@ node_modules
 *.sql
 *.tar.gz
 *.zip
+webpack.config.js
diff --git a/.gitattributes b/.gitattributes
index e6bac7e940c35c73a2d95dd587c525f4dbfcdf4f..eb6a74e3945ba605afe85c772b7bf1be63ef1648 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -4,10 +4,12 @@
 /.gitattributes export-ignore
 /.gitignore export-ignore
 /.gitlab-ci.yml export-ignore
+/.nvmrc export-ignore
 /.travis.yml export-ignore
 /.DS_Store export-ignore
 /.wordpress-org export-ignore
 /Thumbs.db export-ignore
+/assets/src export-ignore
 /behat.yml export-ignore
 /bitbucket-pipelines.yml export-ignore
 /bin export-ignore
@@ -31,6 +33,7 @@
 /tests export-ignore
 /vendor export-ignore
 /node_modules export-ignore
+/webpack.config.js export-ignore
 /*.sql export-ignore
 /*.tar.gz export-ignore
 /*.zip export-ignore