This sample demonstrate how to set up SPFX to use Handlebars through webpack loader.
Solution | Author(s) |
---|---|
SPFx-handlebars | Stefan Bauer - n8d (@stfbauer) |
Version | Date | Comments |
---|---|---|
1.0 | March 5, 2017 | Initial release |
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
git clone the repo
npm i
npm i -g gulp
gulp
This package produces the following:
- lib/* - intermediate-stage commonjs build artifacts
- dist/* - the bundled script, along with other resources
- deploy/* - all resources which should be uploaded to a CDN.