InCuca/vue-loopback

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

Andyliwr opened this issue · 3 comments

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

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

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

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