Gozala / Gozala/alias-quokka-plugin

Is it possible to make this work with quokka global config?

Open
#4 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
20
Forks
2
PR merge metrics
No merged PRs in 30d

Description

I can't figure it out.

I'm trying to import project files from within a scratch file.

This is my global config (I don't understand if Quokka can use the alias here, just trying it out TBH):

```json
{
"pro":true,
"plugins": ["alias-quokka-plugin"],
"alias": {
"@": "./src"
}
}
```

This is my project's `package.json`:

```json
"quokka": {
"babel": true,
"plugins": ["alias-quokka-plugin"],
"alias": {
"@": "./src"
}
}
```

I still get:

```
Quokka #1 (node: v8.11.1, plugins: alias-quokka-plugin)

Cannot find module '@/core/objects/errors'
```

What should I be doing?

Really surprised this isn't built in.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.