File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,14 @@ module.exports = grunt => {
7777 }
7878 } ,
7979
80+ exec : {
81+ firefoxExtensionPack : {
82+ command : 'node_modules/web-ext/bin/web-ext build ' +
83+ '--source-dir=dist/extension --artifacts-dir=dist ' +
84+ '--overwrite-dest'
85+ }
86+ } ,
87+
8088 stylus : {
8189 website : {
8290 files : {
@@ -217,7 +225,8 @@ module.exports = grunt => {
217225 'copy:extension' ,
218226 'build-extension-views' ,
219227 'webpack:extensionProd' ,
220- 'crx:pack'
228+ 'crx:pack' ,
229+ 'exec:firefoxExtensionPack'
221230 ] ) ;
222231
223232 grunt . registerTask ( 'build-extension-dev' , [
Original file line number Diff line number Diff line change 4646 "source-map-support" : " ^0.5.3" ,
4747 "stylus" : " ^0.54.5" ,
4848 "uglifyjs-webpack-plugin" : " ^1.1.6" ,
49+ "web-ext" : " ^2.4.0" ,
4950 "webpack" : " ^3.10.0" ,
5051 "webpack-merge" : " ^4.1.1" ,
5152 "xhr-mock" : " ^2.0.3"
You can’t perform that action at this time.
0 commit comments