summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/test/mochitest/examples/sourcemapped/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/debugger/test/mochitest/examples/sourcemapped/README.md')
-rw-r--r--devtools/client/debugger/test/mochitest/examples/sourcemapped/README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/devtools/client/debugger/test/mochitest/examples/sourcemapped/README.md b/devtools/client/debugger/test/mochitest/examples/sourcemapped/README.md
new file mode 100644
index 0000000000..8def8d6f40
--- /dev/null
+++ b/devtools/client/debugger/test/mochitest/examples/sourcemapped/README.md
@@ -0,0 +1,16 @@
+## Sourcemapped test fixtures
+
+The test fixtures in this folder are used to generate a suite of tests for sourcemapped
+files that have been passed through various tools like Babel and Typescript, and various
+bundlers like Rollup and Webpack.
+
+The fixtures follow a naming scheme where:
+
+* `babel-` means the file requires Babel in order to be consumed by a bundler.
+* `typescript-` means the file requires Typescript in order to be consumed by a bundler.
+* `-cjs` means the file is either:
+ * Written in CommonJS
+ * May be converted to CommonJS when Babel is enabled
+
+ This is used to exclude these files from processing by bundlers that expect input
+ files to be ES modules.