ng2-swipe-cards icon indicating copy to clipboard operation
ng2-swipe-cards copied to clipboard

UglifyJs Unexpected token: name (CardComponent)

Open FrancisVarga opened this issue 7 years ago • 4 comments

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```

FrancisVarga avatar Mar 13 '17 09:03 FrancisVarga

I'm getting the same error. Anyone found a solution yet?? @FrancisVarga @ViCode

sakshamg6 avatar Aug 25 '17 14:08 sakshamg6

I have the same problem

hesampour avatar Sep 03 '17 13:09 hesampour

I have the same problem but in TinderCardDirective. Open an other issue

kevinvella avatar Sep 21 '17 11:09 kevinvella

Same here

jagerchief avatar Oct 18 '17 17:10 jagerchief