mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
22 lines
595 B
JavaScript
22 lines
595 B
JavaScript
Package.describe({
|
|
name: "dynamic-import",
|
|
version: "0.7.2",
|
|
summary: "Runtime support for Meteor 1.5 dynamic import(...) syntax",
|
|
documentation: "README.md"
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
// Do not allow this package to be used in pre-Meteor 1.5 apps.
|
|
api.use("isobuild:dynamic-import@1.5.0");
|
|
|
|
api.use("modules");
|
|
api.use("promise");
|
|
api.use("fetch");
|
|
api.use("modern-browsers");
|
|
api.use("inter-process-messaging", "server");
|
|
api.use("hot-module-replacement", { weak: true });
|
|
|
|
api.mainModule("client.js", "client");
|
|
api.mainModule("server.js", "server");
|
|
});
|