app: » find all images in your CSS and download them » parse your JavaScript dependencies and download them » parse all CSS for imports and download them
should it look? entry: path.resolve('src', 'main.js'), // where should it output to? output: { path: path.resolve(__dirname, 'dist'), filename: 'main.js', publicPath: '/dist/' } }
that this rule applies to // run the babel-loader against them loader: 'babel-loader', // specific options for the babel loader options: { presets: ['es2015'] } }] }
ifNotProduction } = getIfUtils(process.env.NODE_ENV || 'development') » removeEmpty: removes undefined from arrays » ifProduction: returns what it's given if NODE_ENV === 'production' » ifNotProduction: returns what it's given if NODE_ENV !== 'production'
because this app is tiny! You pay a small cost because webpack has code that it inserts for lazily loading modules, but if your pages are big enough you'll get still save.