Skip to content

Commit 626a63d

Browse files
committed
Some code cleanup
1 parent 40aa3da commit 626a63d

File tree

4 files changed

+2
-81
lines changed

4 files changed

+2
-81
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
"uglifyjs-webpack-plugin": "^2.1.1",
4949
"vue-devtools": "^3.1.9",
5050
"vue-feather-icons": "^4.7.1",
51-
"vue-loader": "^15.6.2",
5251
"vue-mc": "^0.2.4",
5352
"vue-template-compiler": "^2.5.16",
5453
"vueify-insert-css": "^1.0.0",

resources/themes/pterodactyl/templates/wrapper.blade.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
@show
4343
@section('scripts')
4444
{!! $asset->js('main.js') !!}
45-
{!! $asset->js('vue.js') !!}
4645
{!! $asset->js('vendor.js') !!}
4746
{!! $asset->js('locales.js') !!}
4847
@show

webpack.config.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin');
99
const ShellPlugin = require('webpack-shell-plugin');
1010
const PurgeCssPlugin = require('purgecss-webpack-plugin');
1111
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
12-
const VueLoaderPlugin = require('vue-loader/lib/plugin');
1312

1413
const isProduction = process.env.NODE_ENV === 'production';
1514

@@ -28,7 +27,6 @@ let plugins = [
2827
integrity: true,
2928
integrityHashes: ['sha384'],
3029
}),
31-
new VueLoaderPlugin(),
3230
];
3331

3432
if (isProduction) {
@@ -122,10 +120,6 @@ module.exports = {
122120
},
123121
module: {
124122
rules: [
125-
{
126-
test: /\.vue$/,
127-
loader: 'vue-loader',
128-
},
129123
{
130124
test: /\.js$/,
131125
loader: 'babel-loader',
@@ -184,18 +178,13 @@ module.exports = {
184178
],
185179
splitChunks: {
186180
cacheGroups: {
187-
vue: {
188-
test: /[\\/]node_modules[\\/](vue\w?)[\\/]/,
189-
name: 'vue',
190-
chunks: 'initial',
191-
},
192181
locales: {
193182
test: /locales/,
194183
name: 'locales',
195184
chunks: 'initial',
196185
},
197186
vendors: {
198-
test: /[\\/]node_modules[\\/](?!vue)(.*)[\\/]/,
187+
test: /[\\/]node_modules[\\/]/,
199188
name: 'vendor',
200189
chunks: 'initial',
201190
},

yarn.lock

Lines changed: 1 addition & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -725,20 +725,6 @@
725725
version "1.13.6"
726726
resolved "http://registry.npmjs.org/@types/webpack-env/-/webpack-env-1.13.6.tgz#128d1685a7c34d31ed17010fc87d6a12c1de6976"
727727

728-
"@vue/component-compiler-utils@^2.5.1":
729-
version "2.5.2"
730-
resolved "https://registry.yarnpkg.com/@vue/component-compiler-utils/-/component-compiler-utils-2.5.2.tgz#a8d57e773354ab10e4742c7d6a8dd86184d4d7be"
731-
dependencies:
732-
consolidate "^0.15.1"
733-
hash-sum "^1.0.2"
734-
lru-cache "^4.1.2"
735-
merge-source-map "^1.1.0"
736-
postcss "^7.0.14"
737-
postcss-selector-parser "^5.0.0"
738-
prettier "1.16.3"
739-
source-map "~0.6.1"
740-
vue-template-es2015-compiler "^1.8.2"
741-
742728
"@webassemblyjs/ast@1.5.9":
743729
version "1.5.9"
744730
resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.5.9.tgz#b2770182678691ab4949d593105c15d4074fedb6"
@@ -1375,7 +1361,7 @@ blob@0.0.4:
13751361
version "0.0.4"
13761362
resolved "https://registry.yarnpkg.com/blob/-/blob-0.0.4.tgz#bcf13052ca54463f30f9fc7e95b9a47630a94921"
13771363

1378-
bluebird@^3.1.1, bluebird@^3.5.1:
1364+
bluebird@^3.5.1:
13791365
version "3.5.1"
13801366
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9"
13811367

@@ -1993,12 +1979,6 @@ console-control-strings@^1.0.0, console-control-strings@~1.1.0:
19931979
version "1.1.0"
19941980
resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e"
19951981

1996-
consolidate@^0.15.1:
1997-
version "0.15.1"
1998-
resolved "https://registry.yarnpkg.com/consolidate/-/consolidate-0.15.1.tgz#21ab043235c71a07d45d9aad98593b0dba56bab7"
1999-
dependencies:
2000-
bluebird "^3.1.1"
2001-
20021982
constants-browserify@^1.0.0:
20031983
version "1.0.0"
20041984
resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75"
@@ -3309,10 +3289,6 @@ hash-base@^3.0.0:
33093289
inherits "^2.0.1"
33103290
safe-buffer "^5.0.1"
33113291

3312-
hash-sum@^1.0.2:
3313-
version "1.0.2"
3314-
resolved "https://registry.yarnpkg.com/hash-sum/-/hash-sum-1.0.2.tgz#33b40777754c6432573c120cc3808bbd10d47f04"
3315-
33163292
hash.js@^1.0.0, hash.js@^1.0.3:
33173293
version "1.1.3"
33183294
resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.3.tgz#340dedbe6290187151c1ea1d777a3448935df846"
@@ -4165,13 +4141,6 @@ lru-cache@^4.0.1, lru-cache@^4.1.1:
41654141
pseudomap "^1.0.2"
41664142
yallist "^2.1.2"
41674143

4168-
lru-cache@^4.1.2:
4169-
version "4.1.5"
4170-
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd"
4171-
dependencies:
4172-
pseudomap "^1.0.2"
4173-
yallist "^2.1.2"
4174-
41754144
lru-cache@^5.1.1:
41764145
version "5.1.1"
41774146
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920"
@@ -4244,12 +4213,6 @@ merge-descriptors@1.0.1:
42444213
version "1.0.1"
42454214
resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61"
42464215

4247-
merge-source-map@^1.1.0:
4248-
version "1.1.0"
4249-
resolved "https://registry.yarnpkg.com/merge-source-map/-/merge-source-map-1.1.0.tgz#2fdde7e6020939f70906a68f2d7ae685e4c8c646"
4250-
dependencies:
4251-
source-map "^0.6.1"
4252-
42534216
methods@~1.1.2:
42544217
version "1.1.2"
42554218
resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee"
@@ -5576,10 +5539,6 @@ precss@^3.1.2:
55765539
postcss-preset-env "^3.2.2"
55775540
postcss-property-lookup "^2.0.0"
55785541

5579-
prettier@1.16.3:
5580-
version "1.16.3"
5581-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.3.tgz#8c62168453badef702f34b45b6ee899574a6a65d"
5582-
55835542
pretty-error@^2.0.2:
55845543
version "2.1.1"
55855544
resolved "https://registry.yarnpkg.com/pretty-error/-/pretty-error-2.1.1.tgz#5f4f87c8f91e5ae3f3ba87ab4cf5e03b1a17f1a3"
@@ -7052,24 +7011,10 @@ vue-feather-icons@^4.7.1:
70527011
dependencies:
70537012
babel-helper-vue-jsx-merge-props "^2.0.2"
70547013

7055-
vue-hot-reload-api@^2.3.0:
7056-
version "2.3.1"
7057-
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.1.tgz#b2d3d95402a811602380783ea4f566eb875569a2"
7058-
70597014
vue-i18n@^8.6.0:
70607015
version "8.6.0"
70617016
resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-8.6.0.tgz#63848b183cf6f100436bcdd84382416e43b07188"
70627017

7063-
vue-loader@^15.6.2:
7064-
version "15.6.2"
7065-
resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-15.6.2.tgz#892741d96260936ff69e892f72ec361ba4d100d2"
7066-
dependencies:
7067-
"@vue/component-compiler-utils" "^2.5.1"
7068-
hash-sum "^1.0.2"
7069-
loader-utils "^1.1.0"
7070-
vue-hot-reload-api "^2.3.0"
7071-
vue-style-loader "^4.1.0"
7072-
70737018
vue-mc@^0.2.4:
70747019
version "0.2.4"
70757020
resolved "https://registry.yarnpkg.com/vue-mc/-/vue-mc-0.2.4.tgz#93569cb6e08e2d1c52968a74cce8a6b2c9bda66a"
@@ -7084,24 +7029,13 @@ vue-router@^3.0.1:
70847029
version "3.0.1"
70857030
resolved "https://registry.yarnpkg.com/vue-router/-/vue-router-3.0.1.tgz#d9b05ad9c7420ba0f626d6500d693e60092cc1e9"
70867031

7087-
vue-style-loader@^4.1.0:
7088-
version "4.1.2"
7089-
resolved "https://registry.yarnpkg.com/vue-style-loader/-/vue-style-loader-4.1.2.tgz#dedf349806f25ceb4e64f3ad7c0a44fba735fcf8"
7090-
dependencies:
7091-
hash-sum "^1.0.2"
7092-
loader-utils "^1.0.2"
7093-
70947032
vue-template-compiler@^2.5.16:
70957033
version "2.5.16"
70967034
resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.5.16.tgz#93b48570e56c720cdf3f051cc15287c26fbd04cb"
70977035
dependencies:
70987036
de-indent "^1.0.2"
70997037
he "^1.1.0"
71007038

7101-
vue-template-es2015-compiler@^1.8.2:
7102-
version "1.8.2"
7103-
resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.8.2.tgz#dd73e80ba58bb65dd7a8aa2aeef6089cf6116f2a"
7104-
71057039
vue@^2.2, vue@^2.5.7:
71067040
version "2.5.16"
71077041
resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.16.tgz#07edb75e8412aaeed871ebafa99f4672584a0085"

0 commit comments

Comments
 (0)