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

Config import not working #65

Open
cheesegrits opened this issue Apr 17, 2019 · 3 comments
Open

Config import not working #65

cheesegrits opened this issue Apr 17, 2019 · 3 comments
Assignees

Comments

@cheesegrits
Copy link

When trying to import a config from server and entry ini files, I get ...

Uncaught ReferenceError: sToB is not defined

... in checkImportableConfigs().

It looks like the build has created some invalid syntax out of that sToB closure?

@Kugelschieber
Copy link
Member

@venyii might know what this means?

@vntw
Copy link
Contributor

vntw commented Apr 19, 2019

Hey, I haven't used this project for a while, but taking a look at the code I'd assume properly declaring the sToB variable (var sToB = ...) might prevent webpack (or whoever does it) from removing it

sToB = function (s) { return s === '1' };

@Kugelschieber
Copy link
Member

I'll do that and publish a new version.

@Kugelschieber Kugelschieber self-assigned this Apr 19, 2019
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

3 participants