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

When use import in main.js, It has errors. #7

Closed
Andyliwr opened this issue Apr 26, 2018 · 3 comments
Closed

When use import in main.js, It has errors. #7

Andyliwr opened this issue Apr 26, 2018 · 3 comments

Comments

@Andyliwr
Copy link

When use import in main.js, It has errors.
2018-04-26 10 04 26

@Andyliwr
Copy link
Author

I just import as this.
2018-04-26 10 05 55

@klarkc
Copy link
Contributor

klarkc commented Apr 26, 2018

the build failed at demooo package, can you list it using npm ls demooo? I think probably this package is not compiled to ES5

@klarkc klarkc closed this as completed in 0c70326 May 17, 2018
@klarkc
Copy link
Contributor

klarkc commented May 17, 2018

Update: I've added a new feature, with this feature you can compile ES6 modules, just insert the module that you want to import in bModules variable of gulp-tasks/build.js file

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