Comments (7)
It looks like this is related to #18
from web-components.
We are using the standard webpack uglifyJS plugin:
plugins: [
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false,
},
output: {
comments: true,
},
}),
]
from web-components.
You can temporarily fix it by setting mangle: false, compress: false
in this plugin.
from web-components.
Spoke to @alexreardon IRL and they are using latest, but this is still an issue.
from web-components.
The problem is in weakmap – it uses Function.prototype.name
You can workaround it now by putting:
mangle: {
keep_fnames: true,
}
in your config, but we'll release a new version with a better weakmap dependency.
from web-components.
Is this all good now josh?
from web-components.
Yes, should be! If it's not let me know.
from web-components.
Related Issues (20)
- Implement fix for safari 10 style recalc bug HOT 4
- Something wrong with minification in firefox? HOT 2
- Pull in the browser version of document-register-element
- Spike using all the new webcomponents/* polyfills HOT 1
- upload to a cdn? HOT 5
- jspm install fails HOT 4
- Where is the native-shim.js file in this repo? HOT 2
- Skate + ShadyCSS <custom-style>issue - native ShadowDom Browsers HOT 8
- ShadyCSS doesn't work in IE11 HOT 5
- npm install skatejs-web-components is broken HOT 8
- missing/broken scope on shadydom callbacks HOT 10
- build issue with sed command HOT 3
- update native-shim? HOT 3
- current published version relies on non-existent `cloudydom/src/env` path in newer versions of cloudydom HOT 2
- Safari UA sniffing breaks in mobile chrome HOT 1
- native-shim has to be ES6 HOT 5
- How performant are these polyfills (esp. in IE11)? HOT 11
- leverage @webcomponents polyfills and lazy-loading HOT 10
- Issue with polyfills HOT 4
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 web-components.