Skip to content

fix loadJavascript babel config#129

Merged
chemzqm merged 1 commit intowetools:masterfrom
suguanYang:fix-babel-config
Feb 24, 2019
Merged

fix loadJavascript babel config#129
chemzqm merged 1 commit intowetools:masterfrom
suguanYang:fix-babel-config

Conversation

@suguanYang
Copy link
Copy Markdown
Contributor

when import lodash, this error will happen
image

error detail:
image,
comparing to lodash source code, the context(here is to) was {}

In miniprogram all things right, so I just copy the babel's config to wept.

The original presets presets: ['babel-preset-es2015'].map(require.resolve) may should be module: false?

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

Successfully merging this pull request may close these issues.

2 participants