Skip to content

Commit c6c13be

Browse files
committed
chore(updated browser list)
1 parent 95731ab commit c6c13be

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",
@@ -27,9 +27,7 @@
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"

plugin.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
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",

webpack.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
const { exec } = require('child_process');
2+
const fs = require('fs');
23
const path = require('path');
34

45
module.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?js$/,

0 commit comments

Comments
 (0)