Compare commits

...

3 Commits

Author SHA1 Message Date
Ayobami 96e074cc2d feat: ngrok setup 2025-07-07 22:13:32 +01:00
Ayobami 680a7c3268 feat: add build script 2025-07-07 14:34:56 +01:00
Ayobami fa9788a10f feat: update engine 2025-07-07 14:21:06 +01:00
2 changed files with 21 additions and 3 deletions
+19 -2
View File
@@ -16,6 +16,18 @@ module.exports = merge(common, {
filename: 'js/[name].[contenthash].bundle.js',
},
// Spin up a server for quick development
// devServer: {
// historyApiFallback: true,
// contentBase: path.normalize(paths.build),
// index: '/',
// open: true,
// compress: true,
// hot: true,
// port: 3000,
// host: 'test.manaknightdev.com',
// https: true,
// noInfo: true, //This turns off information regarding the bundle. Set to false if you need to view the messages
// },
devServer: {
historyApiFallback: true,
contentBase: path.normalize(paths.build),
@@ -24,9 +36,14 @@ module.exports = merge(common, {
compress: true,
hot: true,
port: 3000,
host: 'test.manaknightdev.com',
host: '0.0.0.0',
https: true,
noInfo: true, //This turns off information regarding the bundle. Set to false if you need to view the messages
allowedHosts: [
'.ngrok-free.app', // allow any ngrok subdomain
// 'localhost',
'test.manaknightdev.com',
],
noInfo: true,
},
module: {
+2 -1
View File
@@ -11,7 +11,8 @@
"prepare-husky": "husky install",
"storybook": "start-storybook -p 6006",
"test": "npx cypress open",
"commit": "git add . && git commit -m \"Update Host\" && git push"
"commit": "git add . && git commit -m \"Update Host\" && git push",
"build": "webpack --config config/webpack.base.js --mode production"
},
"husky": {
"hooks": {