This repository was archived by the owner on Oct 21, 2025. It is now read-only.
Commit da788d7
authored
fix: empty build due babel incorrect configuration (#341)
The PR #315 added @babel/core >= 7.*. upgrading/using babel v7
requires, making certian changes, e.g using @babel...etc. This
lead to `npm run build` being interrupted/exited.without
generating the /dist folder.
Luckily, there is a pacakge to automate migration of config
using `npx babel-upgrade --write`, followed by `npm install`, and
few minor changes, the dist folder came to life again.
This shall fixes this openedx/wg-build-test-release#166. and
probably making this openedx/edx-platform#30309 unnecessary.
Note: This change adds "^7.0.0-bridge.0" as devDep, this is
needed because we have pacakges that uses Babel 6, which are
jest and babel-jest. once we upgrade to babel-jest and jest
>=24.*.* the pacakge shall be removed.1 parent 66906f3 commit da788d7
File tree
8 files changed
+19859
-25386
lines changed- src
8 files changed
+19859
-25386
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
6 | 12 | | |
7 | | - | |
8 | | - | |
| 13 | + | |
| 14 | + | |
9 | 15 | | |
10 | 16 | | |
11 | | - | |
12 | | - | |
| 17 | + | |
| 18 | + | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
16 | 22 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
21 | 30 | | |
22 | 31 | | |
23 | 32 | | |
| |||
0 commit comments