9 Commits

Author SHA1 Message Date
Andrey Vlasov
47839a963c 1.0.5 2020-03-29 10:53:19 +03:00
Andrey Vlasov
3683151cb2 build 2020-03-29 10:52:08 +03:00
Andrey Vlasov
033865105f 1.0.4 2020-03-28 23:37:51 +03:00
Andrey Vlasov
556c31c56c add entry 2020-03-28 23:37:43 +03:00
Andrey Vlasov
a008842899 1.0.3 2020-03-28 23:33:09 +03:00
Andrey Vlasov
84cf7b72a0 rename virtual module 2020-03-28 23:32:35 +03:00
Andrey Vlasov
03eec8c836 change license 2020-03-28 23:08:24 +03:00
Andrey Vlasov
1f045701bf 1.0.2 2020-03-28 23:06:49 +03:00
Andrey Vlasov
a64221d659 add scope 2020-03-28 23:06:41 +03:00
3 changed files with 7 additions and 7 deletions

4
dist/index.js vendored
View File

@@ -78,7 +78,7 @@ var bootstrap =
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "/boorstrap/1.0.0/";
/******/ __webpack_require__.p = "/boorstrap/1.0.4/";
/******/
/******/
/******/ // Load entry module and return exports
@@ -257,7 +257,7 @@ eval("\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _argument
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("/* WEBPACK VAR INJECTION */(function(global) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defineVirtualModule = (params) => {\n const virtualModule = createVirtualModule(params);\n // @ts-ignore\n global.define('root.scope.env', [], virtualModule);\n};\nconst createVirtualModule = ({ config, navigations }) => ({\n getConfig: () => config,\n getConfigValue: (key) => config[key],\n getNavigations: () => navigations,\n getNavigationsValue: (key) => navigations[key],\n});\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node_modules/webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack://bootstrap/./src/virtual-module.ts?");
eval("/* WEBPACK VAR INJECTION */(function(global) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defineVirtualModule = (params) => {\n const virtualModule = createVirtualModule(params);\n // @ts-ignore\n global.define('@ijl/fire.app', [], virtualModule);\n};\nconst createVirtualModule = ({ config, navigations }) => ({\n getConfig: () => config,\n getConfigValue: (key) => config[key],\n getNavigations: () => navigations,\n getNavigationsValue: (key) => navigations[key],\n});\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node_modules/webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack://bootstrap/./src/virtual-module.ts?");
/***/ })

View File

@@ -1,15 +1,15 @@
{
"name": "fire.app",
"version": "1.0.1",
"name": "@ijl/fire.app",
"version": "1.0.5",
"description": "",
"main": "index.js",
"main": "dist/index.js",
"scripts": {
"start": "nodemon ./stubs/server.js",
"build": "webpack --mode development",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "innoavvlasov@gmail.com",
"license": "MIT",
"license": "ISC",
"devDependencies": {
"@types/node": "13.7.0",
"@types/systemjs": "6.1.0",

View File

@@ -1,7 +1,7 @@
export const defineVirtualModule = (params) => {
const virtualModule = createVirtualModule(params)
// @ts-ignore
global.define('root.scope.env', [], virtualModule)
global.define('@ijl/fire.app', [], virtualModule)
}
const createVirtualModule = ({config, navigations}) => ({