Add fast serve

This commit is contained in:
AriGunawan 2024-08-30 23:07:27 +07:00
parent bc3d9f7b38
commit 9fec283794
3 changed files with 30664 additions and 3 deletions

View File

@ -13,4 +13,10 @@ build.rig.getTasks = function () {
return result;
};
/* fast-serve */
const { addFastServe } = require("spfx-fast-serve-helpers");
addFastServe(build);
/* end of fast-serve */
build.initialize(require('gulp'));

File diff suppressed because it is too large Load Diff

View File

@ -9,7 +9,8 @@
"scripts": {
"build": "gulp bundle",
"clean": "gulp clean",
"test": "gulp test"
"test": "gulp test",
"serve": "fast-serve"
},
"dependencies": {
"tslib": "2.3.1",
@ -37,6 +38,7 @@
"@types/react": "17.0.45",
"@types/react-dom": "17.0.17",
"eslint-plugin-react-hooks": "4.3.0",
"@microsoft/sp-module-interfaces": "1.20.1"
"@microsoft/sp-module-interfaces": "1.20.1",
"spfx-fast-serve-helpers": "~1.19.0"
}
}