1.8.4 • Published 8 months ago
pp365-programwebparts v1.8.4
program
This project uses React.
This is where you include your project's documentation.
Global dependencies
Requires Gulp globally installed:
npm install --global gulp
Building the code
Download & install all dependencies, build, bundle & package the project
# download & install dependencies
npm install
# transpile all TypeScript & SCSS => JavaScript & CSS
gulp build
# create component bundle & manifest
gulp bundle
# create SharePoint package
gulp package-solution
These commands produce the following:
- ./lib: intermediate-stage commonjs build artifacts
- ./dist: bundled script, along with other resources
- ./temp/deploy: all resources required by component(s) to deploy to a CDN (when
--ship
argument present)
Build options
gulp clean
: Deletes all build output (/dist, /lib, /temp, etc.).gulp build
: Transpiles all TypeScript & SCSS to JavaScript & CSS, generates source map files & TypeScript type declaration filesgulp bundle [--ship|-p|--production]
: Runs gulp task build, then uses webpack to create the JavaScript bundle(s) and component manifest(s) as defined in ./config/config.json. The--ship
,-p
or--production
argument specifies a production build that will generate minified bundles.gulp serve [--ship|-p|--production]
: Runs gulp tasks build, bundle & starts the local webserver. Depending on the project type, it opens the browser and navigates to the local workbench or specified URL (in the case of extension components). The--ship
,-p
or--production
argument specifies a production build that modifies the resulting package for production hosting rather than local hosting of assets.gulp package-solution
: Creates the SharePoint Package (.sppkg) file.gulp dist
: Creates a production-ready SharePoint Package (.sppkg) file. The following gulp task gets executed in this specific ordergulp clean
,gulp bundle
,gulp package-solution.
gulp dev
: Creates a development-ready SharePoint Package (.sppkg) file. The following gulp task will be executed in this specific ordergulp clean
,gulp bundle
,gulp package-solution.
View all available gulp tasks by running
gulp --tasks
More information on SharePoint Framework
Generated with pnp/spfx.
1.8.2
11 months ago
1.8.3-1
10 months ago
1.9.0-1149.1
11 months ago
1.9.0-1148.1
11 months ago
1.8.4
8 months ago
1.9.0-1142.2
11 months ago
1.8.3
11 months ago
1.9.0-1128.1
12 months ago
1.9.0-1111.2
12 months ago
1.9.0-1111.3
12 months ago
1.8.1
1 year ago
1.8.0
1 year ago
1.7.3-923.1
1 year ago
1.7.3-891.1
1 year ago
1.7.2-850.1
2 years ago
1.7.2
2 years ago
1.7.1
2 years ago
1.7.0
2 years ago
1.6.7
2 years ago
1.6.6
2 years ago
1.6.5
2 years ago
1.6.4-817.1
2 years ago
1.6.4
2 years ago
1.6.3-817.1
2 years ago
1.6.3
2 years ago
1.6.2
2 years ago
1.6.1-760.1
2 years ago