mirror of
https://github.com/pnp/sp-dev-fx-webparts.git
synced 2025-02-10 06:55:17 +00:00
Add fast serve
This commit is contained in:
parent
bc3d9f7b38
commit
9fec283794
6
samples/react-enhanced-button/gulpfile.js
vendored
6
samples/react-enhanced-button/gulpfile.js
vendored
@ -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'));
|
||||
|
||||
|
30653
samples/react-enhanced-button/package-lock.json
generated
Normal file
30653
samples/react-enhanced-button/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user