gulp build
parent
0e0fcb08cb
commit
acd806c3a5
@ -1,15 +0,0 @@
|
|||||||
var budo = require('budo')
|
|
||||||
var babelify = require('babelify')
|
|
||||||
|
|
||||||
budo('app.js', {
|
|
||||||
live: true, // setup live reload
|
|
||||||
port: 3000, // use this port
|
|
||||||
browserify: {
|
|
||||||
transform: babelify // ES6
|
|
||||||
}
|
|
||||||
}).on('connect', function (ev) {
|
|
||||||
console.log('Server running on %s', ev.uri)
|
|
||||||
console.log('LiveReload running on port %s', ev.livePort)
|
|
||||||
}).on('update', function (buffer) {
|
|
||||||
console.log('bundle - %d bytes', buffer.length)
|
|
||||||
})
|
|
@ -0,0 +1,12 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<link rel="stylesheet" href="style.css">
|
||||||
|
<title>Neo</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id='root'>
|
||||||
|
</div>
|
||||||
|
<script src="app.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue