Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
47839a963c | ||
|
|
3683151cb2 | ||
|
|
033865105f | ||
|
|
556c31c56c | ||
|
|
a008842899 | ||
|
|
84cf7b72a0 | ||
|
|
03eec8c836 | ||
|
|
1f045701bf | ||
|
|
a64221d659 |
4
dist/index.js
vendored
4
dist/index.js
vendored
@@ -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?");
|
||||
|
||||
/***/ })
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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}) => ({
|
||||
|
||||
Reference in New Issue
Block a user