TheBrainFamily/chimpy

Using import syntax in config file throws error

alanning opened this issue · 0 comments

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.