This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require( 'path' ); | |
module.exports = { | |
entry: [ | |
'./src/index.js' | |
], | |
output: { | |
filename: 'app.js', | |
path: path.resolve( __dirname, 'build' ) | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require( 'path' ); | |
module.exports = { | |
entry: [ | |
'./src/index.js' | |
], | |
output: { | |
filename: 'app.js', | |
path: path.resolve( __dirname, 'build' ) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var path = require('path'); | |
module.exports = { | |
entry: './foo.js', | |
output: { | |
path: path.resolve(__dirname, 'dist'), | |
filename: 'foo.bundle.js' | |
} | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {PropTypes} from 'react'; | |
import CompaniesList from './CompaniesList'; | |
import Pagination from 'react-js-pagination'; | |
import Fetcher from '../common/Fetcher'; | |
export default class PendingInvoices extends React.Component { | |
constructor() { | |
super(); | |
this.state = { | |
companies: [], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {PropTypes} from 'react'; | |
import CompaniesSearcher from './CompaniesSearcher'; | |
export default class Job extends React.Component { | |
constructor( props ) { | |
super( props ); | |
this.state = { | |
price: props.job.price | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {PropTypes} from 'react'; | |
import Header from './Header'; | |
import Screen from './Screen'; | |
import Buttons from './Buttons'; | |
export default class Cronometro extends React.Component { | |
constructor() { | |
super(); | |
this.timer = null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'), | |
browserify = require('browserify'), | |
babel = require('babelify'), | |
source = require('vinyl-source-stream'), | |
buffer = require('vinyl-buffer'), | |
rename = require('gulp-rename'), | |
watchify = require('watchify'), | |
uglify = require('gulp-uglify'); | |
// Obtiene el bundle de Browserify |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'), | |
browserify = require('browserify'), | |
babel = require('babelify'), | |
source = require('vinyl-source-stream'), | |
buffer = require('vinyl-buffer'), | |
rename = require('gulp-rename'), | |
watchify = require('watchify'); | |
function executeBundle(bundle) { | |
return bundle |