Skip to content

Commit 74b0577

Browse files
committed
test: don't transform files when running tests
1 parent 5554523 commit 74b0577

4 files changed

Lines changed: 2 additions & 6 deletions

File tree

.babelrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ jobs:
2626
- name: Install dependencies
2727
run: npm ci
2828
- name: Run babel on all files
29-
run: npm run babel
29+
run: npm run babel-test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "0.0.0",
55
"description": "",
66
"scripts": {
7-
"babel": "babel . --out-dir ./build",
7+
"babel-test": "babel . --config-file=./test-build.babel.mjs --out-dir ./build",
88
"eslint": "eslint . --cache",
99
"eslint-fix": "npm run eslint -- --fix",
1010
"prettier": "prettier --check .",
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
export default {
22
ignore: ['node_modules', 'build'],
3-
presets: ['@babel/preset-env'],
43
plugins: [
54
'@babel/plugin-transform-destructuring',
65
'@zakodium/babel-plugin-transform-modules-amd',

0 commit comments

Comments
 (0)