ardatan / meteor-webpack

https://medium.com/@ardatan/meteor-with-webpack-in-2018-faster-compilation-better-source-handling-benefit-from-bc5ccc5735ef
MIT License
123 stars 29 forks source link

Zero configuration support #8

Open ardatan opened 6 years ago

ardatan commented 6 years ago

This package should support the scenerio when the project doesn't include any webpack.config, it should automatically generate a configuration file for webpack in order to support zero-configuration like Meteor aims.

alphanumeric0101 commented 6 years ago

Question: I am currently running a Meteor app with no standalone webpack config. The only one I have is the webpack.config.js jus like the one you have in your React example. Is it expected that there is another Webpack file along side this one? I'm just trying to figure out how to get code splitting going (my bundle is well over 1MB) and thought maybe this is the piece I'm overlooking.

ardatan commented 6 years ago

@alphanumeric0101 Webpack runs exactly same way like there is no Meteor. So, you have to look at webpack docs to learn about code splitting and the other stuff related to Webpack.