kobezzza, еще не много бардак, я его переделываю по 200 раз)
var ignore = new webpack.IgnorePlugin( /columnUtils/g );
webpack ( {
// context: path.join( __dirname, "utils" ),
context: __dirname,
debug: true,
devtool: 'source-map',
// entry: "./utils.core.js" ,
entry: "./core.js" ,
output: {
// filename: "utils.js",
filename: "app.c.js",
// sourceMapFilename: "dist/widget.sourcemap.js"
},
resolve: {
// modulesDirectories: [ path.resolve( __dirname, ".." ), path.resolve( __dirname, "..", "cultures" ), path.resolve( __dirname, "..", "..", "_libs", "cultures/kendoui/cultures" ) ],
modulesDirectories: [ path.join( __dirname, "utils" ), path.join( __dirname, "libs" ) ],
},
module: {
loaders: [
{ test: "/\.js$/", loader: "c-loader" }
],
plugins: [
ignore
]
}
}, function (err) {
// gulp.run( "compress" );
callback();
} );