meteor-webpack icon indicating copy to clipboard operation
meteor-webpack copied to clipboard

Zero configuration support

Open ardatan opened this issue 6 years ago • 2 comments

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.

ardatan avatar Apr 15 '18 19:04 ardatan

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.

alphanumeric0101 avatar Jun 18 '18 20:06 alphanumeric0101

@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.

ardatan avatar Jun 18 '18 20:06 ardatan