diff --git a/ui/Makefile b/ui/Makefile index 6a68ef57c..098b93244 100644 --- a/ui/Makefile +++ b/ui/Makefile @@ -54,7 +54,7 @@ format: $(NODE_PATH)/prettier prettier --write 'src/**/*.ts' 'src/**/*.tsx' build/stats.json: build - npx source-map-explorer build/static/*/*.{js,css} --json > build/stats.json + env NODE_OPTIONS=--no-experimental-fetch npx source-map-explorer build/static/*/*.{js,css} --json > build/stats.json .PHONY: backup-css backup-css: diff --git a/ui/package.json b/ui/package.json index 6f25c08df..229c946c6 100644 --- a/ui/package.json +++ b/ui/package.json @@ -102,7 +102,7 @@ "test": "react-scripts test", "storybook": "start-storybook", "snapshot": "build-storybook --quiet && percy storybook --verbose ./storybook-static", - "analyze": "NODE_OPTIONS=--no-experimental-fetch npx source-map-explorer 'build/static/js/*.js'" + "analyze": "npx source-map-explorer 'build/static/js/*.js'" }, "jest": { "collectCoverageFrom": [