Browse Source

SELF HOSTING!!!!

contingency-plan
Rich Harris 10 years ago
parent
commit
4713000704
  1. 24
      gobblefile.js
  2. 1
      package.json

24
gobblefile.js

@ -1,9 +1,19 @@
var gobble = require( 'gobble' );
module.exports = gobble( 'src' )
.transform( 'babel' )
.transform( 'esperanto-bundle', {
entry: 'rollup',
type: 'cjs',
strict: true
});
var selfhost = 1;
module.exports = selfhost ?
gobble( 'src' )
.transform( 'babel' )
.transform( 'rollup', {
entry: 'rollup',
format: 'cjs'
}) :
gobble( 'src' )
.transform( 'babel' )
.transform( 'esperanto-bundle', {
entry: 'rollup',
type: 'cjs',
strict: true
});

1
package.json

@ -34,6 +34,7 @@
"gobble-babel": "^5.1.0",
"gobble-cli": "^0.4.2",
"gobble-esperanto-bundle": "^0.2.0",
"gobble-rollup": "^0.1.1",
"mocha": "^2.2.4",
"source-map-support": "^0.2.10"
},

Loading…
Cancel
Save