File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " acode-plugin-github" ,
3- "version" : " 1.3.0 " ,
3+ "version" : " 1.3.1 " ,
44 "description" : " Github plugin for acode editor" ,
55 "main" : " dist/main.js" ,
66 "repository" : " https://github.com/deadlyjack/acode-plugin-github.git" ,
2727 "build-release" : " webpack --mode production" ,
2828 "start-dev" : " node .vscode/start-dev"
2929 },
30- "browserslist" : [
31- " > 0.25%, not dead"
32- ],
30+ "browserslist" : " cover 100%,not android < 5" ,
3331 "resolutions" : {
3432 "terser" : " >=5.16.6" ,
3533 "glob-parent" : " >=5.1.2"
Original file line number Diff line number Diff line change 22 "id" : " acode.plugin.github" ,
33 "name" : " Github" ,
44 "main" : " dist/main.js" ,
5- "version" : " 1.3.0 " ,
5+ "version" : " 1.3.1 " ,
66 "readme" : " readme.md" ,
77 "icon" : " icon.png" ,
8- "minVersionCode" : 292 ,
98 "files" : [],
109 "author" : {
1110 "name" : " Ajit Kumar" ,
Original file line number Diff line number Diff line change 11const { exec } = require ( 'child_process' ) ;
2+ const fs = require ( 'fs' ) ;
23const path = require ( 'path' ) ;
34
45module . exports = ( env , options ) => {
56 const { mode = 'development' } = options ;
7+
8+ if ( mode === 'production' ) {
9+ fs . rmdirSync ( path . resolve ( __dirname , 'dist' ) , { recursive : true } ) ;
10+ }
11+
612 const rules = [
713 {
814 test : / \. m ? j s $ / ,
You can’t perform that action at this time.
0 commit comments