From 66437ce3946ce7fdf18b62cb409dbceb880fefa6 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 17 Sep 2021 11:25:21 -0500 Subject: [PATCH 1/2] gitignore /dist --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 55d383c8af..ce9648b2d8 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ yarn-error.log* /static/ /static-test/ /public/ +/dist/ From 25075074ff213bc9394fdb11f208b71323bcd4d6 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 17 Sep 2021 11:26:57 -0500 Subject: [PATCH 2/2] webpack/index.js --> webpack.config.js --- package.json | 4 ++-- webpack/index.js => webpack.config.js | Bin 315 -> 323 bytes 2 files changed, 2 insertions(+), 2 deletions(-) rename webpack/index.js => webpack.config.js (81%) diff --git a/package.json b/package.json index 7469c0345d..e497e8b2bb 100644 --- a/package.json +++ b/package.json @@ -16,9 +16,9 @@ "url": "https://gitlab.com/soapbox-pub/soapbox-fe/-/issues" }, "scripts": { - "start": "npx webpack-dev-server --config webpack", + "start": "npx webpack-dev-server", "dev": "${npm_execpath} run start", - "build": "npx webpack --config webpack", + "build": "npx webpack", "jsdoc": "npx jsdoc -c jsdoc.conf.js", "manage:translations": "node ./webpack/translationRunner.js", "test": "${npm_execpath} run test:lint && ${npm_execpath} run test:jest", diff --git a/webpack/index.js b/webpack.config.js similarity index 81% rename from webpack/index.js rename to webpack.config.js index 46febcaaf0a8af12397784a776d105d067784380..1194dfdddcd0fe533b4519dc65804050a6b4ab58 100644 GIT binary patch delta 17 ZcmdnZbeL(vQugxHq=Llc?1@XJ0{}ln2WS8Q delta 9 RcmX@iw3}(d(ur%Q0RR;w1dIRx