You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a reason for spree/backend.js being required in spree_i18n.js file? This causes some conflicting behaviors when you want to require the backend.js file in a custom project. If you try to require in your project's vendor/javascripts/spree/backend/all.js, Sprockets raises Sprockets::CircularDependencyError.
But if you remove the //= require spree/backend from your vendor/javascripts/spree/backend/all.js file, it does not raises the error, but the content of spree/backend is not required into all.js, and even if it was required correctly, it's kind of strange making spree_i18n, an external gem, being responsible for requiring it.
The text was updated successfully, but these errors were encountered:
Hello!
Is there a reason for
spree/backend.js
being required inspree_i18n.js
file? This causes some conflicting behaviors when you want to require thebackend.js
file in a custom project. If you try to require in your project'svendor/javascripts/spree/backend/all.js
, Sprockets raisesSprockets::CircularDependencyError
.But if you remove the
//= require spree/backend
from yourvendor/javascripts/spree/backend/all.js
file, it does not raises the error, but the content of spree/backend is not required into all.js, and even if it was required correctly, it's kind of strange making spree_i18n, an external gem, being responsible for requiring it.The text was updated successfully, but these errors were encountered: