ng2-swipe-cards
ng2-swipe-cards copied to clipboard
UglifyJs Unexpected token: name (CardComponent)
I'm using:
https://github.com/angularclass/angular2-webpack-starter.git
And got this the error by compiling for build:prod tasks:
Unexpected token: name (CardComponent) [vendor.1346b1ae7f870076c4d3.bundle.js:34309,6]
Child html-webpack-plugin for "index.html":
[0] ./~/html-webpack-plugin/~/lodash/lodash.js 540 kB {0} [built]
[] -> factory:134ms building:1950ms = 2084ms
[1] (webpack)/buildin/global.js 509 bytes {0} [built]
[] -> factory:57ms building:224ms = 281ms
[2] (webpack)/buildin/module.js 517 bytes {0} [built]
[] -> factory:57ms building:224ms = 281ms
[3] ./~/html-webpack-plugin/lib/loader.js!./src/index.html 2.18 kB {0} [built]
factory:31ms building:35ms = 66ms
Child extract-text-webpack-plugin:
[0] ./~/css-loader/lib/css-base.js 1.51 kB {0} [built]
[] -> factory:4ms building:2ms = 6ms
[1] ./~/css-loader!./src/styles/headings.css 157 bytes {0} [built]
factory:11ms building:4ms = 15ms
Child extract-text-webpack-plugin:
[0] ./~/css-loader/lib/css-base.js 1.51 kB {0} [built]
[] -> factory:0ms building:1ms = 1ms
[1] ./~/css-loader!./~/swiper/dist/css/swiper.min.css 13.9 kB {0} [built]
[] -> factory:0ms building:83ms dependencies:0ms = 83ms
[2] ./~/css-loader!./~/sass-loader/lib/loader.js!./src/styles/styles.scss 58.6 kB {0} [built]
factory:3ms building:626ms = 629ms```
I'm getting the same error. Anyone found a solution yet?? @FrancisVarga @ViCode
I have the same problem
I have the same problem but in TinderCardDirective. Open an other issue
Same here