/
githubmirror
/
meteor
Обзор
Документация
Войти
/
githubmirror
/
meteor
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
devel
tools/tests/apps/modules/packages/modules-test-plugin/package.js
34 строки
956 B
Ben Newman
Allow .npm/package/node_modules to be compiled in Meteor packages.
05 май 2019, 01:08
Не верифицирован
05 май 2019, 01:08
5d0a120
Код
Авторство
О чём код?
Package.describe({ name: "modules-test-plugin", version: "0.0.1", summary: "", // By default, Meteor will default to using README.md for documentation. // To avoid submitting documentation, set this field to null. documentation: null }); Package.registerBuildPlugin({ name: "compile-arson", use: ["ecmascript"], sources: ["plugin.js"], npmDependencies: { // TODO Figure out what to do about the duplication between this list // and the Npm.depends list below. "ts-invariant": "0.4.1", "babel-plugin-transform-class-properties": "6.9.0", "babel-plugin-transform-strict-mode": "6.8.0" } }); Npm.depends({ arson: "0.2.3", "babel-plugin-transform-class-properties": "6.9.0", "babel-plugin-transform-strict-mode": "6.8.0", "vue-template-compiler": "2.5.16" }); Package.onUse(function(api) { api.use("ecmascript"); api.use("isobuild:compiler-plugin@1.0.0") api.mainModule("modules-test-plugin.js"); });