mirror of
https://github.com/HeyPuter/puter.git
synced 2026-08-03 04:41:13 +00:00
devex: reduce webpack verbosity
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
],
|
||||
"scripts": {
|
||||
"start-server": "npx http-server --cors -c-1",
|
||||
"start-webpack": "webpack && webpack --output-filename puter.dev.js --watch --devtool source-map",
|
||||
"start-webpack": "webpack --stats=errors-only && webpack --output-filename puter.dev.js --watch --devtool source-map --stats=errors-only",
|
||||
"start": "concurrently \"npm run start-server\" \"npm run start-webpack\"",
|
||||
"build": "webpack && { echo \"// Copyright 2024-present Puter Technologies Inc. All rights reserved.\"; echo \"// Generated on $(date '+%Y-%m-%d %H:%M')\n\"; cat ./dist/puter.js; } > temp && mv temp ./dist/puter.js",
|
||||
"prepublishOnly": "npm run build && mv dist/puter.js dist/puter.cjs && npm version patch"
|
||||
|
||||
Reference in New Issue
Block a user