Alexander Gundermann

Results comments of Alexander Gundermann

There's also the [DedupePlugin](https://webpack.github.io/docs/list-of-plugins.html#dedupeplugin), which eliminates files with duplicate content. Unlike `npm dedupe` it will not change the behavior of your app, i.e. it will not try to make two...

`recordsPath` or `OccurenceOrderPlugin`. See #408

> It seems like a major architectural flaw to me if Webpack puts what is obviously the same file into two separate modules. As far as I know, webpack does...

[This workaround](https://github.com/webpack/webpack/issues/777#issuecomment-73615754) seems to work well. You probably have to careful about version conflicts though. ``` js module.exports = { resolve: { alias: { 'backbone': require.resolve('backbone') } } } ```

Try double quotes `webpack ./entry.js bundle.js --module-bind "css=style!css"`

`module.loaders` shouldn't be inside `output` ``` js module.exports = { entry: './js/app.js', output: { path: __dirname, filename: 'bundle.js', }, module: { loaders: [ { test: /\.css$/, loader: 'style!css', } ]...

``` js new webpack.optimize.UglifyJsPlugin({ output: { comments: false } }) ```

One reason I see for using `require('loader!./file')` is if you're using a non-standard or "magic" loader which you want to make explicit in order to avoid confusion, e.g. `var Worker...

Works without https: http://webpack.github.io/analyse/ . You might have to disable HTTPS Everywhere for the page if you use that. Or, you can allow "unsafe scripts"/"insecure content" via the browser (e.g....

Afaik the reason you get this ugly looking code is that ES6 modules [export bindings](http://www.2ality.com/2015/07/es6-module-exports.html). If it were to compile as you suggested this code wouldn't work ([source](http://www.2ality.com/2014/09/es6-modules-final.html#cyclic_dependencies_in_ecmascript_6)): ``` js...