UNPKG

395 BJavaScriptView Raw
1// make sourcemaps work!
2require("source-map-support/register");
3
4const Provider = require("./lib/provider");
5const Server = require("./lib/server");
6
7// This interface exists so as not to cause breaking changes.
8module.exports = {
9 server: function(options) {
10 return Server.create(options);
11 },
12 provider: function(options) {
13 return new Provider(options);
14 },
15 _webpacked: true
16};