Skip to content

Commit

Permalink
Skip source map explorer for now
Browse files Browse the repository at this point in the history
There seems to be some incompatibility, one we can return to when we're
focussed on bundle size.
  • Loading branch information
microbit-matt-hillsdon committed Mar 12, 2024
1 parent b703aaf commit f0348ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
"pptr-testing-library": "^0.7.0",
"prettier": "2.3.2",
"puppeteer": "13.4.0",
"source-map-explorer": "^2.5.3",
"typescript": "^5.4.2",
"vite-plugin-svgr": "^4.2.0",
"vitest": "^1.3.1"
Expand All @@ -79,9 +78,7 @@
"npm": ">=8.0"
},
"scripts": {
"bundle-size-explorer": "source-map-explorer 'build/static/js/*.js'",
"bundle-size-report": "source-map-explorer 'build/static/js/*.js' --html reports/bundle-size.html",
"ci": "npm run typecheck && npm run test && npm run build && npm run bundle-size-report",
"ci": "npm run typecheck && npm run test && npm run build",
"postinstall": "npm run theme",
"start": "vite dev",
"build": "vite build",
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export default defineConfig(({ mode }) => {
base: process.env.BASE_URL ?? "/",
build: {
outDir: "build",
sourcemap: true,
},
worker: {
format: "es",
Expand Down

0 comments on commit f0348ea

Please sign in to comment.