Skip to content

Using import syntax in config file throws error #142

Description

@alanning
Expected behaviour

.config/chimpy.js

import path from 'path'
...
$ npx chimpy .config/chimpy.js

Should work.

Actual behaviour

SyntaxError: Unexpected token import

Exact steps to reproduce / repository that demonstrates the problem

.config/chimpy.js

import path from 'path'
...
Version & tools:
Console / Log Output

Join our Slack xolv.io/community #chimp channel, where you can find help and help others.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions