Liferay.Loader.define("commerce-dashboard-web$d3@5.9.2/rollup.node", ['module', 'exports', 'require', 'commerce-dashboard-web$fs', 'commerce-dashboard-web$rollup', './package.json'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    var fs = require("commerce-dashboard-web$fs"),
        rollup = require("commerce-dashboard-web$rollup"),
        dependencies = require("./package.json").dependencies;

    rollup.rollup({
      input: "index.js",
      external: Object.keys(dependencies)
    }).then(function (bundle) {
      return bundle.generate({ format: "cjs" });
    }).then(function (result) {
      var code = result.code + "Object.defineProperty(exports, \"event\", {get: function() { return d3Selection.event; }});\n";
      return new Promise(function (resolve, reject) {
        fs.writeFile("dist/d3.node.js", code, "utf8", function (error) {
          if (error) return reject(error);else resolve();
        });
      });
    }).catch(abort);

    function abort(error) {
      console.error(error.stack);
    }
  }
});
//# sourceMappingURL=rollup.node.js.map