webpack.config.js in another directory than Cypress - how to change where it looks for support files? #25566
Unanswered
pojocariba
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I get Module not found: Error: Can't resolve 'sdk/theme/themes/[projectName]/src/js/cypress/support/component-index.html' because i have cypress located at sdk/tests/[projectName]/. How can i fix this problem without changing my project structure?
for better understanding, this is my project structure:

and content of my webpack.config file is:
I have also tried to put another webpack.config.js file in cypress directory, to fix a problem but the problem persists. Here is content of that file:
Hope anyone can help c:
Beta Was this translation helpful? Give feedback.
All reactions