Alias/Relative paths not working for webpack 5. I am still using the import-glob plugin. #12954
Unanswered
knightswatch3
asked this question in
Q&A
Replies: 1 comment 4 replies
-
|
|
Beta Was this translation helpful? Give feedback.
4 replies
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.
-
Would the
import-globplugin still work with webpackv5 ? I receive the file-references errors stating the relative paths are not being able to resolve.Not sure why am I receiving the errors for file references:
resolve: { extensions: [".js", ".jsx", ".json"], alias: { Assets: path.resolve(__dirname, "..", "..", "src/client/assets"), Config: path.resolve(__dirname, "..") }, modules: [path.resolve(__dirname, "..", "..", "src/client/client_modules"), "node_modules"], preferAbsolute: false }This is my resolve key:value
Beta Was this translation helpful? Give feedback.
All reactions