Skip to content

Commit 4fc4766

Browse files
authored
fix(build): avoid producing *.mp3 build artifacts (#4020)
The fix comes via @codingame/[email protected]. Refs #4014
1 parent bee7aa0 commit 4fc4766

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
"scripts": {
3131
"start": "cross-env DISABLE_ESLINT_PLUGIN=false ENABLE_PROGRESS_PLUGIN=true react-scripts start",
3232
"build": "npm run build:app && npm run build:bundle:esm && npm run build:bundle:umd",
33-
"build:app": "cross-env ENABLE_PROGRESS_PLUGIN=false DISABLE_ESLINT_PLUGIN=false react-scripts build && rimraf ./build/static/media/*.mp3",
33+
"build:app": "cross-env ENABLE_PROGRESS_PLUGIN=false DISABLE_ESLINT_PLUGIN=false react-scripts build",
3434
"build:app:serve": "serve -s build -l 3050",
3535
"build:bundle:esm": "rimraf ./dist/esm && cross-env DISABLE_ESLINT_PLUGIN=false ENABLE_PROGRESS_PLUGIN=false GENERATE_SOURCEMAP=true BUILD_ESM_BUNDLE=true DIST_PATH=dist/esm react-scripts build-bundle && rimraf ./dist/esm/swagger-editor.css*",
36-
"build:bundle:umd": "rimraf ./dist/umd ./dist/swagger-editor.css && cross-env DISABLE_ESLINT_PLUGIN=false ENABLE_PROGRESS_PLUGIN=false GENERATE_SOURCEMAP=false BUILD_UMD_BUNDLE=true DIST_PATH=dist/umd react-scripts build-bundle && copyfiles -u 2 ./dist/umd/swagger-editor.css ./dist && rimraf ./dist/umd/swagger-editor.css && rimraf ./dist/umd/*.mp3",
36+
"build:bundle:umd": "rimraf ./dist/umd ./dist/swagger-editor.css && cross-env DISABLE_ESLINT_PLUGIN=false ENABLE_PROGRESS_PLUGIN=false GENERATE_SOURCEMAP=false BUILD_UMD_BUNDLE=true DIST_PATH=dist/umd react-scripts build-bundle && copyfiles -u 2 ./dist/umd/swagger-editor.css ./dist && rimraf ./dist/umd/swagger-editor.css",
3737
"analyze": "source-map-explorer 'build/static/js/main.js'",
3838
"test": "react-scripts test",
3939
"cy:dev": "start-server-and-test cy:dev:server http://localhost:3003 cy:dev:open",
@@ -93,7 +93,7 @@
9393
"short-unique-id": "^4.4.4",
9494
"styled-components": "^5.3.9",
9595
"swagger-ui-react": "^5.0.0-alpha.6",
96-
"vscode": "npm:@codingame/monaco-vscode-api@~1.76.6",
96+
"vscode": "npm:@codingame/monaco-vscode-api@~1.76.7",
9797
"vscode-languageclient": "^8.1.0",
9898
"vscode-languageserver-textdocument": "^1.0.8"
9999
},

0 commit comments

Comments
 (0)