parent
bdacda6a64
commit
45708d3fc3
@ -0,0 +1,21 @@ |
|||||||
|
.DS_Store |
||||||
|
node_modules |
||||||
|
/dist |
||||||
|
|
||||||
|
# local env files |
||||||
|
.env.local |
||||||
|
.env.*.local |
||||||
|
|
||||||
|
# Log files |
||||||
|
npm-debug.log* |
||||||
|
yarn-debug.log* |
||||||
|
yarn-error.log* |
||||||
|
|
||||||
|
# Editor directories and files |
||||||
|
.idea |
||||||
|
.vscode |
||||||
|
*.suo |
||||||
|
*.ntvs* |
||||||
|
*.njsproj |
||||||
|
*.sln |
||||||
|
*.sw? |
@ -0,0 +1,24 @@ |
|||||||
|
# fir_download |
||||||
|
|
||||||
|
## Project setup |
||||||
|
``` |
||||||
|
yarn install |
||||||
|
``` |
||||||
|
|
||||||
|
### Compiles and hot-reloads for development |
||||||
|
``` |
||||||
|
yarn serve |
||||||
|
``` |
||||||
|
|
||||||
|
### Compiles and minifies for production |
||||||
|
``` |
||||||
|
yarn build |
||||||
|
``` |
||||||
|
|
||||||
|
### Lints and fixes files |
||||||
|
``` |
||||||
|
yarn lint |
||||||
|
``` |
||||||
|
|
||||||
|
### Customize configuration |
||||||
|
See [Configuration Reference](https://cli.vuejs.org/config/). |
@ -0,0 +1,5 @@ |
|||||||
|
module.exports = { |
||||||
|
presets: [ |
||||||
|
'@vue/cli-plugin-babel/preset' |
||||||
|
] |
||||||
|
} |
@ -0,0 +1,45 @@ |
|||||||
|
{ |
||||||
|
"name": "fir_download", |
||||||
|
"version": "0.1.0", |
||||||
|
"private": true, |
||||||
|
"scripts": { |
||||||
|
"serve": "vue-cli-service serve", |
||||||
|
"build": "vue-cli-service build", |
||||||
|
"lint": "vue-cli-service lint" |
||||||
|
}, |
||||||
|
"dependencies": { |
||||||
|
"axios": "^0.19.2", |
||||||
|
"core-js": "^3.6.4", |
||||||
|
"qrcodejs2": "^0.0.2", |
||||||
|
"vue": "^2.6.11", |
||||||
|
"vue-router": "^3.1.6", |
||||||
|
"webpack-bundle-analyzer": "^3.6.1" |
||||||
|
}, |
||||||
|
"devDependencies": { |
||||||
|
"@vue/cli-plugin-babel": "^4.2.0", |
||||||
|
"@vue/cli-plugin-eslint": "^4.2.0", |
||||||
|
"@vue/cli-service": "^4.2.0", |
||||||
|
"babel-eslint": "^10.0.3", |
||||||
|
"eslint": "^6.7.2", |
||||||
|
"eslint-plugin-vue": "^6.1.2", |
||||||
|
"vue-template-compiler": "^2.6.11" |
||||||
|
}, |
||||||
|
"eslintConfig": { |
||||||
|
"root": true, |
||||||
|
"env": { |
||||||
|
"node": true |
||||||
|
}, |
||||||
|
"extends": [ |
||||||
|
"plugin:vue/essential", |
||||||
|
"eslint:recommended" |
||||||
|
], |
||||||
|
"parserOptions": { |
||||||
|
"parser": "babel-eslint" |
||||||
|
}, |
||||||
|
"rules": {} |
||||||
|
}, |
||||||
|
"browserslist": [ |
||||||
|
"> 1%", |
||||||
|
"last 2 versions" |
||||||
|
] |
||||||
|
} |
@ -0,0 +1,17 @@ |
|||||||
|
<!DOCTYPE html> |
||||||
|
<html lang="en"> |
||||||
|
<head> |
||||||
|
<meta charset="utf-8"> |
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
||||||
|
<meta name="viewport" content="width=device-width,initial-scale=1.0"> |
||||||
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> |
||||||
|
<title>App下载</title> |
||||||
|
</head> |
||||||
|
<body> |
||||||
|
<noscript> |
||||||
|
<strong>We're sorry but fly doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> |
||||||
|
</noscript> |
||||||
|
<div id="download"></div> |
||||||
|
<!-- built files will be auto injected --> |
||||||
|
</body> |
||||||
|
</html> |
@ -0,0 +1,77 @@ |
|||||||
|
<template> |
||||||
|
<div id="download" ref="download"> |
||||||
|
<router-view></router-view> |
||||||
|
</div> |
||||||
|
</template> |
||||||
|
|
||||||
|
<script> |
||||||
|
|
||||||
|
export default { |
||||||
|
name: 'download', |
||||||
|
data() { |
||||||
|
return { |
||||||
|
} |
||||||
|
}, |
||||||
|
} |
||||||
|
</script> |
||||||
|
|
||||||
|
<style> |
||||||
|
body { |
||||||
|
background-color: rgba(0, 166, 224, 0.18) |
||||||
|
} |
||||||
|
|
||||||
|
@font-face {font-family: "iconfont"; |
||||||
|
src: url('./assets/icon/iconfont.eot?t=1583637102320'); /* IE9 */ |
||||||
|
src: url('./assets/icon/iconfont.eot?t=1583637102320#iefix') format('embedded-opentype'), /* IE6-IE8 */ |
||||||
|
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAnUAAsAAAAAEXwAAAmIAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCEIAqUYJBKATYCJAMoCxYABCAFhG0HdhuGDlGUL1aT7CuMW3giIDU2lBZVYzMmA6BYbBoB4AIAvsWyNCR1ZYRAPDyt/e/cmdn1b4KYdG+eSCaJRMWjWPVE6ZTyQkZL4P/W2j938EFdZvf2bG4F1UgXqyQeKfBIqpGQb4i2eQ/W/4P6Ek9oYwayNWYT2liwtS7KBWzNL+pBXQarNpcN/6uINB8EdIMjCcASCSSx4cAb7oGJPvjzf6maMe0OLEmbbAtQ1TLH+t2bjwpcoLGH1RZY9/OCWElqEp69Ctt/lUoZgKMJ9DZKJTpb39oLSoVQBWoeMPQUKGtmZQQOra7u2bKID6DSppeMC3hP7x//HA0lSZWJNS/fr5uFyp+QiaT/uZpYwYv1OWFuR8Z+oBDfe93f5Fy5n9R9H1g8BBYZNWVZ128wWubBX4gsc00C/+npXSCHRbkuqBVJ6GSNo/zjETVVPQL/ONPxMyIeNT9HHoWfyzwSPzeo8DQ7IF5OsxdGGZpzMGqgeQOjCpoJxHejmz7ZYhE4AvIjgLIWhPY8ORu1xKf7mSXfEqJWz1lFqu4IsUVclojNFtvZeZZJWCxfTwc225MLw+IOJVu9jIhlZydks0WD2YzVCGJDzZv3bRWtVSPgFM6ZTJDKjCPGrSIdax2dlWgymUleOEnitJKXpPyEKz9ri1IZTMalepIwQ/od1OvB5h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UP+993doltuQfXLtU0pPGBnrW2o4u+P30yuA4vdY6Qe/t07D9YAFHIkqHvfYUeph1RU+m/aBns24EEAD/Rq8s+xcelTUkEMB7JTjY42BnMOokDk8JeBZNLyFmhvio0Caos9puTM95priqjCj9mOOZGMpKz2zmGrAPc+tYh5+nswWBQhRHvKheOR72eAjyc8SFZ4R0pyD4izMyqL5102eIF9TO4GBThIR9FjJtiZ8xg/ChkAXq1tt3w2hzPKZwI736/P0wDo+ZPZIlXSYD3aD2sXrdF5A3j5ZNUJ0UFHXkEF5IverEPDJNIP7+xVywGYJ0ziWSfsUy1NEorjp9+1rvrS37se5DXLePFDlKVFFHE2100cegueWb5QgzqyRdljFPtoQhvCSjo0cKVVaMkK2o4rlyAAA=') format('woff2'), |
||||||
|
url('./assets/icon/iconfont.woff?t=1583637102320') format('woff'), |
||||||
|
url('./assets/icon/iconfont.ttf?t=1583637102320') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ |
||||||
|
url('./assets/icon/iconfont.svg?t=1583637102320#iconfont') format('svg'); /* iOS 4.1- */ |
||||||
|
} |
||||||
|
|
||||||
|
.iconfont { |
||||||
|
font-family: "iconfont" !important; |
||||||
|
font-size: 16px; |
||||||
|
font-style: normal; |
||||||
|
-webkit-font-smoothing: antialiased; |
||||||
|
-moz-osx-font-smoothing: grayscale; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-android:before { |
||||||
|
content: "\e61d"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-android1:before { |
||||||
|
content: "\e616"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-android2:before { |
||||||
|
content: "\e62a"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-ios:before { |
||||||
|
content: "\e60c"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-IOS:before { |
||||||
|
content: "\e68c"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-ios1:before { |
||||||
|
content: "\e601"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-ios2:before { |
||||||
|
content: "\e64b"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-Android:before { |
||||||
|
content: "\e6d4"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-android3:before { |
||||||
|
content: "\e625"; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
</style> |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 30 KiB |
@ -0,0 +1,53 @@ |
|||||||
|
@font-face {font-family: "iconfont"; |
||||||
|
src: url('iconfont.eot?t=1583637102320'); /* IE9 */ |
||||||
|
src: url('iconfont.eot?t=1583637102320#iefix') format('embedded-opentype'), /* IE6-IE8 */ |
||||||
|
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAnUAAsAAAAAEXwAAAmIAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCEIAqUYJBKATYCJAMoCxYABCAFhG0HdhuGDlGUL1aT7CuMW3giIDU2lBZVYzMmA6BYbBoB4AIAvsWyNCR1ZYRAPDyt/e/cmdn1b4KYdG+eSCaJRMWjWPVE6ZTyQkZL4P/W2j938EFdZvf2bG4F1UgXqyQeKfBIqpGQb4i2eQ/W/4P6Ek9oYwayNWYT2liwtS7KBWzNL+pBXQarNpcN/6uINB8EdIMjCcASCSSx4cAb7oGJPvjzf6maMe0OLEmbbAtQ1TLH+t2bjwpcoLGH1RZY9/OCWElqEp69Ctt/lUoZgKMJ9DZKJTpb39oLSoVQBWoeMPQUKGtmZQQOra7u2bKID6DSppeMC3hP7x//HA0lSZWJNS/fr5uFyp+QiaT/uZpYwYv1OWFuR8Z+oBDfe93f5Fy5n9R9H1g8BBYZNWVZ128wWubBX4gsc00C/+npXSCHRbkuqBVJ6GSNo/zjETVVPQL/ONPxMyIeNT9HHoWfyzwSPzeo8DQ7IF5OsxdGGZpzMGqgeQOjCpoJxHejmz7ZYhE4AvIjgLIWhPY8ORu1xKf7mSXfEqJWz1lFqu4IsUVclojNFtvZeZZJWCxfTwc225MLw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T+UzxdQWBqaOatItGSBI3E3MxD40KfmrXQpS5vyRCZc+X53Qn98Zz0aZ+yj0f0oB601pJcIT/LFKmMNKINMsffEGFomXauqjNqtKllBO4+/UP+993doltuQfXLtU0pPGBnrW2o4u+P30yuA4vdY6Qe/t07D9YAFHIkqHvfYUeph1RU+m/aBns24EEAD/Rq8s+xcelTUkEMB7JTjY42BnMOokDk8JeBZNLyFmhvio0Caos9puTM95priqjCj9mOOZGMpKz2zmGrAPc+tYh5+nswWBQhRHvKheOR72eAjyc8SFZ4R0pyD4izMyqL5102eIF9TO4GBThIR9FjJtiZ8xg/ChkAXq1tt3w2hzPKZwI736/P0wDo+ZPZIlXSYD3aD2sXrdF5A3j5ZNUJ0UFHXkEF5IverEPDJNIP7+xVywGYJ0ziWSfsUy1NEorjp9+1rvrS37se5DXLePFDlKVFFHE2100cegueWb5QgzqyRdljFPtoQhvCSjo0cKVVaMkK2o4rlyAAA=') format('woff2'), |
||||||
|
url('iconfont.woff?t=1583637102320') format('woff'), |
||||||
|
url('iconfont.ttf?t=1583637102320') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ |
||||||
|
url('iconfont.svg?t=1583637102320#iconfont') format('svg'); /* iOS 4.1- */ |
||||||
|
} |
||||||
|
|
||||||
|
.iconfont { |
||||||
|
font-family: "iconfont" !important; |
||||||
|
font-size: 16px; |
||||||
|
font-style: normal; |
||||||
|
-webkit-font-smoothing: antialiased; |
||||||
|
-moz-osx-font-smoothing: grayscale; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-android:before { |
||||||
|
content: "\e61d"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-android1:before { |
||||||
|
content: "\e616"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-android2:before { |
||||||
|
content: "\e62a"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-ios:before { |
||||||
|
content: "\e60c"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-IOS:before { |
||||||
|
content: "\e68c"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-ios1:before { |
||||||
|
content: "\e601"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-ios2:before { |
||||||
|
content: "\e64b"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-Android:before { |
||||||
|
content: "\e6d4"; |
||||||
|
} |
||||||
|
|
||||||
|
.icon-android3:before { |
||||||
|
content: "\e625"; |
||||||
|
} |
||||||
|
|
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -0,0 +1,72 @@ |
|||||||
|
{ |
||||||
|
"id": "", |
||||||
|
"name": "", |
||||||
|
"font_family": "iconfont", |
||||||
|
"css_prefix_text": "icon-", |
||||||
|
"description": "", |
||||||
|
"glyphs": [ |
||||||
|
{ |
||||||
|
"icon_id": "217325", |
||||||
|
"name": "android", |
||||||
|
"font_class": "android", |
||||||
|
"unicode": "e61d", |
||||||
|
"unicode_decimal": 58909 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"icon_id": "1261088", |
||||||
|
"name": "android", |
||||||
|
"font_class": "android1", |
||||||
|
"unicode": "e616", |
||||||
|
"unicode_decimal": 58902 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"icon_id": "1410210", |
||||||
|
"name": "android", |
||||||
|
"font_class": "android2", |
||||||
|
"unicode": "e62a", |
||||||
|
"unicode_decimal": 58922 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"icon_id": "1420800", |
||||||
|
"name": "IOS", |
||||||
|
"font_class": "ios", |
||||||
|
"unicode": "e60c", |
||||||
|
"unicode_decimal": 58892 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"icon_id": "1546553", |
||||||
|
"name": "IOS", |
||||||
|
"font_class": "IOS", |
||||||
|
"unicode": "e68c", |
||||||
|
"unicode_decimal": 59020 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"icon_id": "2075064", |
||||||
|
"name": "ios", |
||||||
|
"font_class": "ios1", |
||||||
|
"unicode": "e601", |
||||||
|
"unicode_decimal": 58881 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"icon_id": "2325952", |
||||||
|
"name": "ios", |
||||||
|
"font_class": "ios2", |
||||||
|
"unicode": "e64b", |
||||||
|
"unicode_decimal": 58955 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"icon_id": "3965518", |
||||||
|
"name": "Android", |
||||||
|
"font_class": "Android", |
||||||
|
"unicode": "e6d4", |
||||||
|
"unicode_decimal": 59092 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"icon_id": "13302922", |
||||||
|
"name": "android", |
||||||
|
"font_class": "android3", |
||||||
|
"unicode": "e625", |
||||||
|
"unicode_decimal": 58917 |
||||||
|
} |
||||||
|
] |
||||||
|
} |
After Width: | Height: | Size: 16 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,11 @@ |
|||||||
|
import Vue from 'vue' |
||||||
|
import Download from "@/Download"; |
||||||
|
import router from "@/router/download"; |
||||||
|
|
||||||
|
|
||||||
|
Vue.config.productionTip = false; |
||||||
|
|
||||||
|
new Vue({ |
||||||
|
render: h => h(Download), |
||||||
|
router, |
||||||
|
}).$mount('#download'); |
@ -0,0 +1,119 @@ |
|||||||
|
import Axios from 'axios' |
||||||
|
const https = require('https'); |
||||||
|
Axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded'; |
||||||
|
Axios.defaults.withCredentials = true; |
||||||
|
Axios.defaults.httpsAgent = new https.Agent({ |
||||||
|
keepAlive: true |
||||||
|
}); |
||||||
|
|
||||||
|
// Axios.defaults.baseURL='';
|
||||||
|
const USERSEVER = 'https://fly.dvcloud.xin/api/v1/fir/server'; |
||||||
|
|
||||||
|
// const USERSEVER = 'http://192.168.1.112:8000/api/v1/fir/server';
|
||||||
|
|
||||||
|
|
||||||
|
function getData(url, params = {}, callBack) { |
||||||
|
|
||||||
|
|
||||||
|
var uri = ''; |
||||||
|
var keys = Object.keys(params); |
||||||
|
var values = Object.values(params); |
||||||
|
for (var i = 0; i < keys.length; i++) { |
||||||
|
var key = keys[i]; |
||||||
|
var value = values[i]; |
||||||
|
uri = uri + key + "=" + value; |
||||||
|
if (i < keys.length - 1) { |
||||||
|
uri = uri + "&" |
||||||
|
} |
||||||
|
} |
||||||
|
if (uri !== "") { |
||||||
|
uri = "?" + uri |
||||||
|
} |
||||||
|
url = url + uri; |
||||||
|
Axios |
||||||
|
.get(url, params) |
||||||
|
.then(function (response) { |
||||||
|
callBack(response.data); |
||||||
|
let x = ''; |
||||||
|
if (x !== '') { |
||||||
|
alert(x) |
||||||
|
} |
||||||
|
}) |
||||||
|
.catch(function (error) { |
||||||
|
|
||||||
|
if (error && error.response) { |
||||||
|
switch (error.response.status) { |
||||||
|
case 400: |
||||||
|
error.message = '请求错误(400)'; |
||||||
|
break; |
||||||
|
case 401: |
||||||
|
error.message = '未授权,请重新登录(401)'; |
||||||
|
break; |
||||||
|
case 403: |
||||||
|
error.message = '拒绝访问(403)'; |
||||||
|
break; |
||||||
|
case 404: |
||||||
|
error.message = '请求出错(404)'; |
||||||
|
break; |
||||||
|
case 408: |
||||||
|
error.message = '请求超时(408)'; |
||||||
|
break; |
||||||
|
case 500: |
||||||
|
error.message = '服务器错误(500)'; |
||||||
|
break; |
||||||
|
case 501: |
||||||
|
error.message = '服务未实现(501)'; |
||||||
|
break; |
||||||
|
case 502: |
||||||
|
error.message = '网络错误(502)'; |
||||||
|
break; |
||||||
|
case 503: |
||||||
|
error.message = '服务不可用(503)'; |
||||||
|
break; |
||||||
|
case 504: |
||||||
|
error.message = '网络超时(504)'; |
||||||
|
break; |
||||||
|
case 505: |
||||||
|
error.message = 'HTTP版本不受支持(505)'; |
||||||
|
break; |
||||||
|
default: |
||||||
|
error.message = `连接出错(${error.response.status})!`; |
||||||
|
} |
||||||
|
} else { |
||||||
|
error.message = '连接服务器失败!'; |
||||||
|
} |
||||||
|
if (error.message === 'Network Error') { |
||||||
|
alert('网络连接失败') |
||||||
|
} |
||||||
|
|
||||||
|
callBack(null); |
||||||
|
}); |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**根据短链接获取应用信息 */ |
||||||
|
export function getShortAppinfo(callBack, params) { |
||||||
|
getData( |
||||||
|
USERSEVER + '/short/' + params.short , |
||||||
|
params, |
||||||
|
data => { |
||||||
|
callBack(data); |
||||||
|
}, |
||||||
|
); |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
/**获取下载的url */ |
||||||
|
export function getdownloadurl(callBack, params) { |
||||||
|
getData( |
||||||
|
USERSEVER + '/install/'+params.app_id , |
||||||
|
params.data, |
||||||
|
data => { |
||||||
|
callBack(data); |
||||||
|
}, |
||||||
|
); |
||||||
|
} |
||||||
|
export function getplisturl() { |
||||||
|
return USERSEVER + '/download' |
||||||
|
} |
@ -0,0 +1,26 @@ |
|||||||
|
import Vue from 'vue' |
||||||
|
//1.先导入
|
||||||
|
import VueRouter from 'vue-router' |
||||||
|
//2.一定先use 一下
|
||||||
|
Vue.use(VueRouter); |
||||||
|
|
||||||
|
// 解决push 同一个路由的错误
|
||||||
|
const originalPush = VueRouter.prototype.push; |
||||||
|
VueRouter.prototype.push = function push(location) { |
||||||
|
return originalPush.call(this, location).catch(err => err) |
||||||
|
}; |
||||||
|
|
||||||
|
import FirDownload from "@/components/FirDownload"; |
||||||
|
const router = new VueRouter({ |
||||||
|
mode:'history', |
||||||
|
routes: [ |
||||||
|
{ |
||||||
|
path: '/:short', |
||||||
|
name: 'FirDownload', |
||||||
|
component: FirDownload |
||||||
|
} |
||||||
|
] |
||||||
|
}); |
||||||
|
|
||||||
|
|
||||||
|
export default router; |
@ -0,0 +1,7 @@ |
|||||||
|
// const WebpackBundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
|
||||||
|
//
|
||||||
|
// module.exports = {
|
||||||
|
// configureWebpack: {
|
||||||
|
// plugins: [new WebpackBundleAnalyzerPlugin()]
|
||||||
|
// }
|
||||||
|
// };
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue