Comments (8)
There still seems to be an error when compiling using ng build --prod
Below is the error:
ERROR in vendor.8131bca24d66709e3bca.bundle.js from UglifyJs Unexpected token: name (Angular2ImageGalleryModule) [vendor.8131bca24d66709e3bca.bundle.js:21638,6]
from angular2-image-gallery.
The compilation has worked. Thank you so much! Great work! @BenjaminBrandmeier
from angular2-image-gallery.
Please try again with the newly published angular2-image-gallery 0.7.0
from angular2-image-gallery.
Alright, will do. Thanks, @BenjaminBrandmeier !
from angular2-image-gallery.
Yep, I'm seeing the same thing.
from angular2-image-gallery.
You are right. I only tried it with ng build
and ng build --aot
which runs perfectly fine. But ng build --prod
doesn't; will have a look into this.
from angular2-image-gallery.
The reason why ng build --prod
didn't work was because it uses UglifyJs which has an issue with ES2015 code. So I'm now transpiling to ES5 for the library.
I tested this with angular2-image-gallery 0.7.1 and published it. Please try it again with this version.
from angular2-image-gallery.
I will test it now. I will let you know the results.
from angular2-image-gallery.
Related Issues (20)
- Error on :Run convert script" - TypeError: invalid options argument HOT 5
- Real intended dedicated "Viewer" component HOT 4
- Issue: Add Support for Dynamic Image Loading HOT 1
- import error HOT 1
- Arrows are in center of the image HOT 1
- data.js not found when the option [galleryName]="'yourGalleryName'" is added to the html HOT 2
- Angular 7 Compatibility HOT 5
- Can't pinch-to-zoom on ImageViewer (mobile) HOT 2
- maxRowsPerPage does not jump to top on page switch HOT 1
- How to integrate gallery in template? HOT 1
- this.render() not showing gallery unless i resize the window HOT 15
- Issue lazy loading module HOT 4
- Cannot find module 'gm' HOT 1
- Feature: overlay buttons with click events as plugins HOT 1
- error when running this:node node_modules/angular2-image-gallery/convert.js HOT 3
- Support for angular 9 HOT 3
- 'gallery' is not a known element HOT 2
- fix some litle boring issues HOT 3
- angular 10 HOT 2
- upgrade to angular 10 error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular2-image-gallery.