File tree Expand file tree Collapse file tree 6 files changed +315
-310
lines changed Expand file tree Collapse file tree 6 files changed +315
-310
lines changed Original file line number Diff line number Diff line change @@ -38,13 +38,13 @@ jobs:
3838
3939 - name : Run Ubuntu tests
4040 if : ${{ contains(matrix.os, 'ubuntu') }}
41- run : npm run test_build && npm run test
41+ run : npm run build.test && npm run test
4242
4343 # One or two of the tests are flaky on Windows/MacOs
4444 - name : Run Windows and MacOS tests
4545 if : ${{ !contains(matrix.os, 'ubuntu') }}
4646 continue-on-error : true
47- run : npm run test_build && npm run test
47+ run : npm run build.test && npm run test
4848
4949 Lint :
5050 if : " !contains(github.event.head_commit.message, '[skip ci]')"
Original file line number Diff line number Diff line change 11const isDev = process . env . NODE_ENV !== "production"
22const isTest = process . env . NODE_ENV === "test"
3+ const isReadable = process . env . READABLE_BUILD || isDev || isTest
34
45export default {
56 // "module": false, // controlled by Parcel
@@ -28,8 +29,8 @@ export default {
2829 "parse" : {
2930 "ecma" : 2020
3031 } ,
31- "mangle" : ! isDev ,
32+ "mangle" : isReadable ? false : true ,
3233 "format" : {
33- "beautify" : isDev
34+ "beautify" : isReadable
3435 } ,
3536}
Original file line number Diff line number Diff line change @@ -64,7 +64,6 @@ let subscriptionsOfCommands = null
6464 */
6565export const emitter = new Emitter ( )
6666
67-
6867/**
6968 DOMStylesReader cache used for storing token colors
7069*/
You can’t perform that action at this time.
0 commit comments