[spago] turn off pedanticPackages & bundle.min.js by default
There is a bug in spago: https://github.com/purescript/spago/issues/1243 This is to overcome slow builds. Also, bundle the minified version by default.
Showing
This source diff could not be displayed because it is too large. You can view the blob instead.
... | ... | @@ -3,7 +3,7 @@ |
"version": "0.0.7.1.6.3", | ||
"scripts": { | ||
"build": "spago build", | ||
"bundle": "spago bundle --module Main --outfile dist/bundle.js", | ||
"bundle": "spago bundle --module Main --outfile dist/bundle.min.js --minify --source-maps", | ||
"css": "$npm_execpath css-themes", | ||
"css-themes": "$npm_execpath css-default-theme && $npm_execpath css-dark-theme && $npm_execpath css-darkster-theme && $npm_execpath css-greyson-theme && $npm_execpath css-herbie-theme && $npm_execpath css-monotony-theme", | ||
"css-default-theme": "sass src/sass/themes/default.scss:dist/styles/bootstrap-default.css", | ||
... | ... | @@ -13,7 +13,6 @@ |
"css-herbie-theme": "sass src/sass/themes/herbie.scss:dist/styles/bootstrap-herbie.css", | ||
"css-monotony-theme": "sass src/sass/themes/monotony.scss:dist/styles/bootstrap-monotony.css", | ||
"docs": "spago docs", | ||
"minify": "spago bundle --module Main --outfile dist/bundle.min.js --minify", | ||
"repl": "spago repl", | ||
"server": "serve -l 8008 dist", | ||
"server-ssl": "ssl-serve --ssl dist", | ||
... | ... | @@ -51,6 +50,7 @@ |
"immer": "~9.0.5", | ||
"isomorphic-unfetch": "~3.1.0", | ||
"markdown-it": "~13.0.1", | ||
"minify": "^11.3.0", | ||
"prop-types": "~15.6.2", | ||
"react": "~18.2.0", | ||
"react-awesome-popover": "~6.1.1", | ||
... | ... | @@ -73,7 +73,7 @@ |
"react-testing-library": "~8.0.1", | ||
"sass": "~1.77.0", | ||
"serve": "~14.2.3", | ||
"spago": "~0.93.29", | ||
"spago": "~0.93.35", | ||
"ssl-serve": "~6.5.8", | ||
"taiko": "latest", | ||
"vscode-languageserver": "~7.0.0", | ||
... | ... |
Please register or sign in to comment