File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,14 @@ module.exports = grunt => {
77
77
}
78
78
} ,
79
79
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
+
80
88
stylus : {
81
89
website : {
82
90
files : {
@@ -217,7 +225,8 @@ module.exports = grunt => {
217
225
'copy:extension' ,
218
226
'build-extension-views' ,
219
227
'webpack:extensionProd' ,
220
- 'crx:pack'
228
+ 'crx:pack' ,
229
+ 'exec:firefoxExtensionPack'
221
230
] ) ;
222
231
223
232
grunt . registerTask ( 'build-extension-dev' , [
Original file line number Diff line number Diff line change 46
46
"source-map-support" : " ^0.5.3" ,
47
47
"stylus" : " ^0.54.5" ,
48
48
"uglifyjs-webpack-plugin" : " ^1.1.6" ,
49
+ "web-ext" : " ^2.4.0" ,
49
50
"webpack" : " ^3.10.0" ,
50
51
"webpack-merge" : " ^4.1.1" ,
51
52
"xhr-mock" : " ^2.0.3"
You can’t perform that action at this time.
0 commit comments