Skip to content

Commit 6ae73dc

Browse files
committed
Merge branch 'template' into develop
# Conflicts: # src/app.vue
2 parents c0cb7ff + 7293aed commit 6ae73dc

File tree

3 files changed

+49
-2
lines changed

3 files changed

+49
-2
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@
1313
"devDependencies": {
1414
"css-loader": "^3.6.0",
1515
"fibers": "^5.0.0",
16+
"file-loader": "^6.0.0",
1617
"html-webpack-plugin": "^4.3.0",
1718
"mini-css-extract-plugin": "^0.9.0",
1819
"reset-css": "^5.0.1",
1920
"sass": "^1.26.9",
2021
"sass-loader": "^8.0.2",
2122
"sass-resources-loader": "^2.0.3",
23+
"url-loader": "^4.1.0",
2224
"vue-loader": "^15.*",
2325
"vue-template-compiler": "^2.6.11",
2426
"webpack": "^4.43.0",

webpack.config.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,18 @@ module.exports = {
4141
}
4242
}
4343
]
44+
},
45+
{
46+
test: /\.(png|jpe?g|gif)$/,
47+
use: [
48+
{
49+
loader: 'url-loader',
50+
options: {
51+
limit: 1024 * 10,
52+
name: 'img/[name].[ext]'
53+
}
54+
}
55+
]
4456
}
4557
]
4658
},

yarn.lock

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2394,6 +2394,14 @@ figgy-pudding@^3.5.1:
23942394
resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.2.tgz#b4eee8148abb01dcf1d1ac34367d59e12fa61d6e"
23952395
integrity sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw==
23962396

2397+
file-loader@^6.0.0:
2398+
version "6.0.0"
2399+
resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-6.0.0.tgz#97bbfaab7a2460c07bcbd72d3a6922407f67649f"
2400+
integrity sha512-/aMOAYEFXDdjG0wytpTL5YQLfZnnTmLNjn+AIrJ/6HVnTfDqLsVKUUwkDf4I4kgex36BvjuXEn/TX9B/1ESyqQ==
2401+
dependencies:
2402+
loader-utils "^2.0.0"
2403+
schema-utils "^2.6.5"
2404+
23972405
23982406
version "1.0.0"
23992407
resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd"
@@ -3223,6 +3231,13 @@ json5@^1.0.1:
32233231
dependencies:
32243232
minimist "^1.2.0"
32253233

3234+
json5@^2.1.2:
3235+
version "2.1.3"
3236+
resolved "https://registry.yarnpkg.com/json5/-/json5-2.1.3.tgz#c9b0f7fa9233bfe5807fe66fcf3a5617ed597d43"
3237+
integrity sha512-KXPvOm8K9IJKFM0bmdn8QXh7udDh1g/giieX0NLCaMnb4hEiVFqnop2ImTXCc5e0/oHz3LTqmHGtExn5hfMkOA==
3238+
dependencies:
3239+
minimist "^1.2.5"
3240+
32263241
killable@^1.0.1:
32273242
version "1.0.1"
32283243
resolved "https://registry.yarnpkg.com/killable/-/killable-1.0.1.tgz#4c8ce441187a061c7474fb87ca08e2a638194892"
@@ -3278,6 +3293,15 @@ loader-utils@^1.0.2, loader-utils@^1.0.4, loader-utils@^1.1.0, loader-utils@^1.2
32783293
emojis-list "^3.0.0"
32793294
json5 "^1.0.1"
32803295

3296+
loader-utils@^2.0.0:
3297+
version "2.0.0"
3298+
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-2.0.0.tgz#e4cace5b816d425a166b5f097e10cd12b36064b0"
3299+
integrity sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==
3300+
dependencies:
3301+
big.js "^5.2.2"
3302+
emojis-list "^3.0.0"
3303+
json5 "^2.1.2"
3304+
32813305
locate-path@^2.0.0:
32823306
version "2.0.0"
32833307
resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e"
@@ -3432,7 +3456,7 @@ [email protected], "mime-db@>= 1.43.0 < 2":
34323456
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.44.0.tgz#fa11c5eb0aca1334b4233cb4d52f10c5a6272f92"
34333457
integrity sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==
34343458

3435-
mime-types@~2.1.17, mime-types@~2.1.24:
3459+
mime-types@^2.1.26, mime-types@~2.1.17, mime-types@~2.1.24:
34363460
version "2.1.27"
34373461
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.27.tgz#47949f98e279ea53119f5722e0f34e529bec009f"
34383462
integrity sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==
@@ -4499,7 +4523,7 @@ schema-utils@^1.0.0:
44994523
ajv-errors "^1.0.0"
45004524
ajv-keywords "^3.1.0"
45014525

4502-
schema-utils@^2.6.1, schema-utils@^2.7.0:
4526+
schema-utils@^2.6.1, schema-utils@^2.6.5, schema-utils@^2.7.0:
45034527
version "2.7.0"
45044528
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.7.0.tgz#17151f76d8eae67fbbf77960c33c676ad9f4efc7"
45054529
integrity sha512-0ilKFI6QQF5nxDZLFn2dMjvc4hjg/Wkg7rHd3jK6/A4a1Hl9VFdQWvgB1UMGoU94pad1P/8N7fMcEnLnSiju8A==
@@ -5113,6 +5137,15 @@ urix@^0.1.0:
51135137
resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72"
51145138
integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=
51155139

5140+
url-loader@^4.1.0:
5141+
version "4.1.0"
5142+
resolved "https://registry.yarnpkg.com/url-loader/-/url-loader-4.1.0.tgz#c7d6b0d6b0fccd51ab3ffc58a78d32b8d89a7be2"
5143+
integrity sha512-IzgAAIC8wRrg6NYkFIJY09vtktQcsvU8V6HhtQj9PTefbYImzLB1hufqo4m+RyM5N3mLx5BqJKccgxJS+W3kqw==
5144+
dependencies:
5145+
loader-utils "^2.0.0"
5146+
mime-types "^2.1.26"
5147+
schema-utils "^2.6.5"
5148+
51165149
url-parse@^1.4.3:
51175150
version "1.4.7"
51185151
resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.4.7.tgz#a8a83535e8c00a316e403a5db4ac1b9b853ae278"

0 commit comments

Comments
 (0)