Skip to content

Commit 6360ff0

Browse files
Lightning00BladeDevtools-frontend LUCI CQ
authored andcommitted
Partially fix rebuild scripts
This only fixes the ES version to match the one we have in the main repo and the extension so its pick up by rollup correctly. Bug: 397912769 Change-Id: I53a86d61abb49d266aafe18e8823b3d1dff73ebe Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6285328 Reviewed-by: Philip Pfaffe <[email protected]> Commit-Queue: Nikolay Vitkov <[email protected]>
1 parent 4dc470b commit 6360ff0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
npm install
2-
../../../node_modules/.bin/tsc -d -t es2020 -m es2020 --moduleResolution node bundle.ts
3-
../../../node_modules/.bin/rollup -c
2+
../../../node_modules/.bin/tsc -d -t esnext -m esnext --moduleResolution node bundle.ts
3+
../../../node_modules/@rollup/wasm-node/dist/bin/rollup -c
44
rm -rf node_modules package-lock.json bundle.js bundle.d.ts
55
# Because there's a bug in clang causing it to reformat import lists even where formatting is disabled, run it right away
66
git cl format --js
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
npm install
2-
../../../node_modules/.bin/tsc -d -t es2020 -m es2020 --moduleResolution node src/*
3-
../../../node_modules/.bin/rollup -c
2+
../../../node_modules/.bin/tsc -d -t esnext -m esnext --moduleResolution node src/*
3+
../../../node_modules/@rollup/wasm-node/dist/bin/rollup -c
44
rm -rf node_modules package-lock.json src/*.js src/*.d.ts
55
# Because there's a bug in clang causing it to reformat import lists even where formatting is disabled, run it right away
66
git cl format --js

0 commit comments

Comments
 (0)