Top "Browserify" questions

Browserify is a tool that packages Node.

What's the use of exports / module.exports?

Today I've adopting Browserify for my AngularJS project, but there is something that's very unclear to me. In all examples …

angularjs browserify
Browserify - How to call function bundled in a file generated through browserify in browser

I am new to nodejs and browserify. I started with this link . I have file main.js which contains this …

node.js npm browserify
How to uglify output with Browserify in Gulp?

I tried to uglify output of Browserify in Gulp, but it doesn't work. gulpfile.js var browserify = require('browserify'); var …

javascript node.js gulp browserify uglifyjs
React-Router - Uncaught TypeError: Cannot read property 'getCurrentLocation' of undefined

I'm using the latest version of react-router (version ^3.0.0). I wrote the following routing using ES5: routes.js: var React = require("…

reactjs react-router browserify
Browserify, Babel 6, Gulp - Unexpected token on spread operator

I'm trying to get my Browserify/Babelify/Gulp working in my project, but it won't take the spread operator. I …

javascript gulp ecmascript-6 browserify babeljs
Multiple React components in a single module

I am new to the whole browserify thing. I have been trying to use browserify + reactify + gulp to transform, minify …

reactjs gulp browserify
Receiving 'Error: Cannot find module' using browserify, gulp, react.js

So I've been playing around with React.js, gulp and browserify. Everything works great until I try to require a …

javascript node.js gulp reactjs browserify
require is not defined error with browserify

I'm new to browserify and trying to load npm modules in browser but I'm getting the following error: Uncaught ReferenceError: …

javascript node.js browserify
Using gulp-browserify for my React.js modules I'm getting 'require is not defined' in the browser

I'm trying to use gulp-browserify to generate a bundle.js file that can be included to the client's browser and …

javascript node.js gulp reactjs browserify
Vue JS 2.0 not rendering anything?

Using Vue (^2.0.0-rc.6) + Browserify, entry point is index.js: import Vue from 'vue' import App from './containers/App.vue' …

javascript vue.js vuejs2 browserify babeljs