diff --git a/.gitignore b/.gitignore
index 7fbbcd55d..8864f8826 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,14 +1,6 @@
coverage
demo/markdown-it.min.js
-demo/markdownlint-browser.min.js
-demo/micromark-browser.js
-demo/micromark-html-browser.js
-micromark/micromark.cjs
-micromark/micromark.dev.cjs
-micromark/micromark-browser.js
-micromark/micromark-browser.dev.js
-micromark/micromark-html-browser.js
-micromark/micromark-html-browser.dev.js
+demo/markdownlint-browser.min.cjs
node_modules
!test/node_modules
npm-debug.log
diff --git a/.npmignore b/.npmignore
index 0b1a6d4f0..fbb17e0d8 100644
--- a/.npmignore
+++ b/.npmignore
@@ -5,13 +5,13 @@
.vscode
coverage
demo/*
-!demo/markdownlint-browser.js
+!demo/markdownlint-browser.cjs
doc-build
eslint.config.mjs
example
micromark
npm-debug.log
-schema/*.js
+schema/*.mjs
scripts
test
test-repos
diff --git a/demo/default.js b/demo/default.cjs
similarity index 100%
rename from demo/default.js
rename to demo/default.cjs
diff --git a/demo/default.htm b/demo/default.htm
index 32a8f2045..26739a109 100644
--- a/demo/default.htm
+++ b/demo/default.htm
@@ -36,7 +36,7 @@
-
-
+
+