gulp - laravel elixir - combine compiled coffeescript/browserify files with sourcemaps -
i trying compile coffeescript code 1 file , browserify another, combine them. works fine , each file gets source-map in build directory, can't combine them while generating combined source-map.
any way of doing elixir or need gulp pipe chain?
elixir(function(mix){ mix.browserify(['vendor-modules.js'], 'resources/assets/js/build/vendor-modules.js') .coffee([ '_classes/*.coffee', 'main.coffee', 'react/home/*.coffee', 'react/home.coffee', ], 'resources/assets/js/build/app-main.js') .scripts([ 'build/vendor-modules.js', 'build/app-main.js', ], 'public/assets/js/app.js'); });
Comments
Post a Comment