Top "Browserify" questions

Browserify is a tool that packages Node.

How to import jquery using ES6 syntax?

I'm writing a new app using (JavaScript) ES6 syntax through babel transpiler and the preset-es2015 plugins, as well as semantic-ui …

javascript jquery ecmascript-6 browserify semantic-ui
Is there a way to render multiple React components in the React.render() function?

For example could I do: import React from 'react'; import PanelA from './panelA.jsx'; import PanelB from './panelB.…

javascript reactjs browserify babeljs
SyntaxError: 'import' and 'export' may appear only with 'sourceType: module' - Gulp

Consider the following two files: app.js import Game from './game/game'; import React from 'react'; import ReactDOM from …

javascript gulp ecmascript-6 browserify babeljs
Exporting a class with ES6 (Babel)

I'm writing some frontend code with ECMAScript 6 (transpiled with BabelJS, and then browserified with Browserify) so that I can have …

javascript gruntjs browserify ecmascript-6 babeljs
Where should ReactDOM be imported from?

After upgrading to version 0.14.2, I see an error and recommendation to use ReactDOM.render() instead of React.render(), but whence …

javascript reactjs browserify
React - Minified exception occurred

I have React js installed via NPM and using browserify to manage components in react. When an exception occurs in …

npm reactjs browserify
Is it okay to use babel-node in production

I have been developing a site using babel-node and browserify with the babelify transform, to support ES6 syntax. I am …

javascript node.js browserify babeljs
browserify error /usr/bin/env: node: No such file or directory

I installed node js and npm via apt-get install and all of the dependencies, then I installed browserify npm install …

javascript node.js browserify
How to get minified output with browserify?

Just started to use browserify, but I cannot find documentation for how to get it spilling out minified output. So …

javascript node.js browserify
How to save a stream into multiple destinations with Gulp.js?

const gulp = require('gulp'); const $ = require('gulp-load-plugins')(); const source = require('vinyl-source-stream'); const browserify = require('browserify'); gulp.task('build', () => browserify(…

javascript node.js browserify gulp