Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when passing path to javascript config file via '--config' flag #480

Open
bwroblewski opened this issue Aug 4, 2021 · 1 comment

Comments

@bwroblewski
Copy link

I receive following error when I provide path to javascript config file via --config flag, for example:
webfont --config path\to\webfont\config\webfont.js

Error: Could not dynamically require "path\to\webfont\config\webfont.js". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.
    at commonjsRequire (C:\Users\<user>\AppData\Roaming\nvm\v12.22.1\node_modules\webfont\dist\cli.js:255:8)
    at importFresh$1 (C:\Users\<user>\AppData\Roaming\nvm\v12.22.1\node_modules\webfont\dist\cli.js:4173:9)
    at loadJs (C:\Users\<user>\AppData\Roaming\nvm\v12.22.1\node_modules\webfont\dist\cli.js:4181:18)
    at Explorer.loadFileContent (C:\Users\<user>\AppData\Roaming\nvm\v12.22.1\node_modules\webfont\dist\cli.js:4592:12)
    at C:\Users\<user>\AppData\Roaming\nvm\v12.22.1\node_modules\webfont\dist\cli.js:4614:21
@wszydlak
Copy link
Contributor

wszydlak commented Aug 4, 2021

Hi, it looks like in master branch it is resolved (probably bumping rollup version resolved this). I checked and this errors occurs no more. @jimmyandrade when can we expect some release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants