build: remove config check

Im not sure how to get it to work. It either works when it shouldnt or doesnt when it should.
This commit is contained in:
Miodec 2023-09-04 18:56:07 +02:00
parent 513983f1e2
commit 86df6c769e

View file

@ -29,15 +29,6 @@ task("validate-json-schema", function () {
const taskWithWebpackConfig = (webpackConfig) => {
return async () => {
if (
!fs.existsSync(
resolve(__dirname, "../src/ts/constants/firebase-config.ts")
)
) {
const msg = `File firebase-config.ts is missing! Please duplicate firebase-config-example.ts and rename it to firebase-config.ts. If you are using Firebase, fill in the values in the config file. If not, you can leave the fields blank. For more information, check CONTRIBUTING_ADVANCED.md`;
throw new Error(msg);
}
return new Promise((resolve, reject) => {
webpack(webpackConfig, (err, stats) => {
if (err) {