summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/test/mochitest/examples/sourcemapped/README.md
blob: 8def8d6f40153b2419cb0e931b04a1de820167da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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.