Gozala / Gozala/alias-quokka-plugin
Cannot Find Module
- Dominant language
- JavaScript
- Stars
- 20
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
In my webpack setup I have the following alias:
`'$route-views': resolve('src/route-views')`
And in the package.json I have the following:
```
"quokka": {
"pro": true,
"babel" : true,
"plugins": ["alias-quokka-plugin"],
"alias": {
"@": "src",
"$c": "src/components",
"$route-views": "src/route-views/dashboards/goals",
```
In a javascript file, I'm importing a module under that folder as such:
`import {getGrid} from '$route-views/dashboards/GoalsGridDates'`
However, Quokka spits out this error:
```
Cannot find module '$route-views/dashboards/GoalsGridHelper'
at Function.Module._resolveFilename module.js:470
at Module._load module.js:418
at Function.Module._load.rest [as _load] .\node_modules\alias-quokka-plugin\src\main.js:13
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.