Promact / md2

Angular2 based Material Design components, directives and services are Accordion, Autocomplete, Collapse, Colorpicker, Datepicker, Dialog(Modal), Menu, Multiselect, Select, Tabs, Tags(Chips), Toast and Tooltip.
http://code.promactinfo.com/md2/
MIT License
379 stars 111 forks source link

SyntaxError: Unexpected token export #192

Closed Daffko closed 7 years ago

Daffko commented 7 years ago

Hi,

I'm experiencing the same bug as in #53 index.js:1 Uncaught SyntaxError: Unexpected token export

My setup: md2@0.0.19 "webpack": "^1.15.0" "@angular/core": "^4.1.0"

Any help, please? Thanks.

janhartmann commented 7 years ago

I get exactly the same.

On line:

//                                                                                                                     //
// node_modules/md2/index.js                                                                                           //
//                                                                                                                     //
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                                                                                                                       //
export * from './core';     <---
janhartmann commented 7 years ago

Is it possible to get an update on this issue?

dharmeshpipariya-zz commented 7 years ago

@Daffko and @janhartmann we have fixed in the latest release, comment here if any issue

Daffko commented 7 years ago

I've updated to most recent version 0.0.24, still getting the same error.

dharmeshpipariya-zz commented 7 years ago

@Daffko and @janhartmann we have fixed in the release of md2@0.0.25, comment here if any issue

Daffko commented 7 years ago

I've just tested the latest version 0.0.25. It's still crashing on export * from './core';