5htp 0.4.6-3 → 0.4.6-5
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/package.json +2 -2
- package/src/compiler/index.ts +2 -1
- package/src/compiler/server/index.ts +6 -1
- package/src/paths.ts +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "5htp",
|
|
3
3
|
"description": "Convenient TypeScript framework designed for Performance and Productivity.",
|
|
4
|
-
"version": "0.4.6-
|
|
4
|
+
"version": "0.4.6-5",
|
|
5
5
|
"author": "Gaetan Le Gac (https://github.com/gaetanlegac)",
|
|
6
6
|
"repository": "git://github.com/gaetanlegac/5htp.git",
|
|
7
7
|
"license": "MIT",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"css-loader": "^6.2.0",
|
|
52
52
|
"css-minimizer-webpack-plugin": "^4.1.0",
|
|
53
53
|
"dayjs": "^1.11.5",
|
|
54
|
-
"favicons": "^
|
|
54
|
+
"favicons": "^7.2.0",
|
|
55
55
|
"filesize": "^8.0.3",
|
|
56
56
|
"image-minimizer-webpack-plugin": "^2.2.0",
|
|
57
57
|
"imagemin": "^8.0.1",
|
package/src/compiler/index.ts
CHANGED
|
@@ -147,7 +147,8 @@ export default class Compiler {
|
|
|
147
147
|
// The last override the first if there are duplicates
|
|
148
148
|
'@server/services/': path.join(cli.paths.core.src, 'server', 'services'),
|
|
149
149
|
'@/server/services/': path.join(app.paths.src, 'server', 'services'),
|
|
150
|
-
|
|
150
|
+
// Temp disabled because compile issue on vercel
|
|
151
|
+
//'': path.join(app.paths.root, 'node_modules'),
|
|
151
152
|
}
|
|
152
153
|
|
|
153
154
|
const servicesIndex: {[id: string]: TServiceMetas} = {};
|
|
@@ -101,8 +101,12 @@ export default function createCompiler( app: App, mode: TCompileMode ): webpack.
|
|
|
101
101
|
// Aliased modules
|
|
102
102
|
app.aliases.server.containsAlias(request)
|
|
103
103
|
||
|
|
104
|
+
// TODO: 5htp.conf: compile: include
|
|
104
105
|
// Compile 5HTP modules
|
|
105
106
|
request.startsWith('5htp-')
|
|
107
|
+
||
|
|
108
|
+
// Compile 5HTP modules
|
|
109
|
+
request.startsWith('@mantine/')
|
|
106
110
|
)
|
|
107
111
|
|
|
108
112
|
//console.log('isNodeModule', request, isNodeModule);
|
|
@@ -147,7 +151,8 @@ export default function createCompiler( app: App, mode: TCompileMode ): webpack.
|
|
|
147
151
|
cli.paths.core.root + '/src/server',
|
|
148
152
|
|
|
149
153
|
// Complle 5HTP modules so they can refer to the framework instance and aliases
|
|
150
|
-
|
|
154
|
+
// Temp disabled because compile issue on vercel
|
|
155
|
+
//...getCorePluginsList(app)
|
|
151
156
|
],
|
|
152
157
|
rules: require('../common/babel')(app, 'server', dev)
|
|
153
158
|
},
|
package/src/paths.ts
CHANGED
|
@@ -149,7 +149,7 @@ export default class Paths {
|
|
|
149
149
|
rootDir: this.core.cli
|
|
150
150
|
});
|
|
151
151
|
|
|
152
|
-
//console.log('Applying Aliases ...', aliases);
|
|
152
|
+
//console.log('Applying Aliases ...', aliases.forModuleAlias());
|
|
153
153
|
moduleAlias.addAliases( aliases.forModuleAlias() );
|
|
154
154
|
|
|
155
155
|
}
|