From c1d95166403611eee11f7e03ce86dcaef42e8d3e Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Fri, 10 Dec 2021 14:39:40 +0000 Subject: [PATCH] Add babel-loader to JS dependencies This package should have been included by other dependencies, but it seems there's some weird issues with the package not being found and this is one of the main suggested solutions. Deployments are currently failing with: "ERROR in Entry module not found: Error: Cannot resolve module 'babel-loader'" --- package.json | 1 + yarn.lock | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9f5917326e..0230a9db58 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "dependencies": { "@hotwired/turbo": "^7.1.0", "@rails/webpacker": "5.4.3", + "babel-loader": "^8.2.3", "cable_ready": "^5.0.0-pre2", "flatpickr": "^4.6.9", "moment": "^2.29.1", diff --git a/yarn.lock b/yarn.lock index 971b75d464..3e2883a47f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3548,7 +3548,7 @@ babel-jest@^27.4.2: graceful-fs "^4.2.4" slash "^3.0.0" -babel-loader@^8.0.0: +babel-loader@^8.0.0, babel-loader@^8.2.3: version "8.2.3" resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.2.3.tgz#8986b40f1a64cacfcb4b8429320085ef68b1342d" integrity sha512-n4Zeta8NC3QAsuyiizu0GkmRcQ6clkV9WFUnUf1iXP//IeSKbWjofW3UHyZVwlOB4y039YQKefawyTn64Zwbuw==