mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
29 lines
631 B
JavaScript
29 lines
631 B
JavaScript
// This sets up the basic environment that any package will want.
|
|
|
|
Package.describe({
|
|
summary: "Base package that all other packages automatically depend on.",
|
|
internal: true
|
|
});
|
|
|
|
Package.register_extension(
|
|
"js", function (bundle, source_path, serve_path, where) {
|
|
bundle.add_resource({
|
|
type: "js",
|
|
path: serve_path,
|
|
source_file: source_path,
|
|
where: where
|
|
});
|
|
}
|
|
);
|
|
|
|
Package.register_extension(
|
|
"css", function (bundle, source_path, serve_path, where) {
|
|
bundle.add_resource({
|
|
type: "css",
|
|
path: serve_path,
|
|
source_file: source_path,
|
|
where: where
|
|
});
|
|
}
|
|
);
|