Comments (1)
I have it imported in the vendor so that when the commonsChunkPlugin runs, it extracts it out into the vendor chunk only. It's the same reason for all the other import statements in vendor.js too, except that these modules export components/modules that have to be called manually to be executed. eg: ReactDOM.render()
But since in this case just running import 'babel-polyfill';
directly performs the polyfilling. I think removing it from client/index.js makes sense because vendor.js is executed before main.js in the final output html.
Pushed the change :) Good catch, there's really no need to have it run twice 👍
from pwa.
Related Issues (9)
- The syntax of the command is incorrect. HOT 2
- how is the Server worker working on http request, Can you please elaborate HOT 4
- Is it does server side rendering ?
- R Router 4 HOT 4
- Question: Does it work offline or the support is there? HOT 1
- Issue with common chunk plugin HOT 4
- Server-side rendering and async routing
- npm install fails on Windows 10 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 pwa.