@itrocks/framework 0.0.11 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/framework.js +2 -1
- package/package.json +1 -1
package/cjs/framework.js
CHANGED
|
@@ -54,7 +54,7 @@ const menu_2 = require("./menu");
|
|
|
54
54
|
const template_2 = require("./template");
|
|
55
55
|
const menu = new menu_1.Menu(menu_2.menuConfig);
|
|
56
56
|
let routes;
|
|
57
|
-
template_1.frontScripts.push('/node_modules
|
|
57
|
+
template_1.frontScripts.push('/node_modules/air-datepicker/locale/en.js', '/node_modules/air-datepicker/locale/fr.js');
|
|
58
58
|
function bindDependencies() {
|
|
59
59
|
(0, class_view_1.classViewDependsOn)({ requiredOf: required_1.requiredOf, tr: translate_1.tr });
|
|
60
60
|
(0, storage_1.createDataSource)(data_source_1.localDataSource);
|
|
@@ -169,6 +169,7 @@ async function main() {
|
|
|
169
169
|
favicon: '/node_modules/@itrocks/framework/favicon.ico',
|
|
170
170
|
frontScripts: template_1.frontScripts,
|
|
171
171
|
port: 3000,
|
|
172
|
+
scriptCalls: ['loadCss', 'loadScript'],
|
|
172
173
|
secret: secret_1.localSecret,
|
|
173
174
|
store: new fastify_file_session_store_1.FileStore(session_1.localSession.path)
|
|
174
175
|
}).run();
|
package/package.json
CHANGED