This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ConfigureWebpackTask = require('@microsoft/sp-build-core-tasks/lib/configureWebpack/ConfigureWebpackTask').ConfigureWebpackTask; | |
class OptimizedWebpackTask extends ConfigureWebpackTask { | |
constructor() { | |
super(...arguments); | |
} | |
executeTask(gulp, completeCallback) { | |
const script = this.buildConfig.args._[0]; | |
const webpart = this.buildConfig.args.webpart; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const pascalCase = require('pascal-case') | |
const faFolders = [ | |
'@fortawesome/free-solid-svg-icons', | |
'@fortawesome/free-brands-svg-icons', | |
'@fortawesome/free-regular-svg-icons', | |
'@fortawesome/pro-solid-svg-icons', | |
'@fortawesome/pro-regular-svg-icons', | |
'@fortawesome/pro-light-svg-icons' | |
]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |