diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 8344474a56f..40bcb791a80 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -47,6 +47,10 @@ jobs: working-directory: ./config env: FIREBASE_CLI_TOKEN: ${{ secrets.FIREBASE_CLI_TOKEN }} + - name: Do modular build + run: yarn build:modular + - name: Do compat build + run: yarn build:compat - name: Run modular tests env: APP_CHECK_DEBUG_TOKEN: ${{ secrets.APP_CHECK_DEBUG_TOKEN }} diff --git a/e2e/.gitignore b/e2e/.gitignore index fcb8904bce8..04d8ee5c56e 100644 --- a/e2e/.gitignore +++ b/e2e/.gitignore @@ -1,3 +1,4 @@ build/*.js +build/*.map firebase-config.js context.html \ No newline at end of file diff --git a/e2e/package.json b/e2e/package.json index a5251084fea..0009e2106d8 100644 --- a/e2e/package.json +++ b/e2e/package.json @@ -11,7 +11,9 @@ "watch": "webpack --watch", "build": "webpack", "start:modular": "webpack serve --config-name modular", - "start:compat": "webpack serve --config-name compat" + "start:compat": "webpack serve --config-name compat", + "build:modular": "webpack --config-name modular", + "build:compat": "webpack --config-name compat" }, "author": "", "license": "ISC", diff --git a/e2e/webpack.config.js b/e2e/webpack.config.js index 38e56dd041b..b2e4c25f62e 100644 --- a/e2e/webpack.config.js +++ b/e2e/webpack.config.js @@ -49,9 +49,6 @@ module.exports = [ } ] }, - resolve: { - mainFields: ['browser', 'module', 'main'] - }, stats: { colors: true }, @@ -88,9 +85,6 @@ module.exports = [ } ] }, - resolve: { - mainFields: ['browser', 'module', 'main'] - }, stats: { colors: true },