Skip to content

Commit 0a28a00

Browse files
committed
Improve assets management and browser globals usage
1 parent f52da24 commit 0a28a00

File tree

5 files changed

+23
-7
lines changed

5 files changed

+23
-7
lines changed

.github/FUNDING.yml

+11
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
14
patreon: atanas
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: scriptex
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: ['paypal.me/scriptex']

.npmignore

+2
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ Thumbs.db
2323
# Config files
2424
.github
2525
.circleci
26+
.travis.yml
2627
renovate.json
2728
_config.yml
2829
_.config.yml
2930
.whitesource
3031

3132
# Project specific
33+
readme.svg
3234
webpack-mpa.svg
3335
webpack-mpa.sketch

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webpack-mpa-ts",
3-
"version": "3.5.0",
3+
"version": "3.6.0",
44
"description": "Multi page app setup with webpack",
55
"scripts": {
66
"build": "webpack --NODE_ENV=production",

webpack.config.ts

+3
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,9 @@ module.exports = (): webpack.Configuration => {
235235
onBuildStart: shellScripts
236236
})
237237
],
238+
externals: {
239+
jquery: 'jQuery'
240+
},
238241
cache: true,
239242
bail: false,
240243
devtool: isDevelopment ? 'source-map' : false,

yarn.lock

+6-6
Original file line numberDiff line numberDiff line change
@@ -3473,9 +3473,9 @@ ee-first@1.1.1:
34733473
integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=
34743474

34753475
electron-to-chromium@^1.3.585:
3476-
version "1.3.585"
3477-
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.585.tgz#71cdb722c73488b9475ad1c572cf43a763ef9081"
3478-
integrity sha512-xoeqjMQhgHDZM7FiglJAb2aeOxHZWFruUc3MbAGTgE7GB8rr5fTn1Sdh5THGuQtndU3GuXlu91ZKqRivxoCZ/A==
3476+
version "1.3.586"
3477+
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.586.tgz#1484f59b2f820f5f3278f0c6ead71d05b19a1311"
3478+
integrity sha512-or8FCbQCRlPZHkOoqBULOI9hzTiStVIQqDLgAPt8pzY+swTrW+89vsqd24Zn+Iv4guAJLxRBD6OR5AmbpabGDA==
34793479

34803480
elliptic@^6.5.3:
34813481
version "6.5.3"
@@ -10436,9 +10436,9 @@ ua-parser-js@^0.7.18:
1043610436
integrity sha512-YUxzMjJ5T71w6a8WWVcMGM6YWOTX27rCoIQgLXiWaxqXSx9D7DNjiGWn1aJIRSQ5qr0xuhra77bSIh6voR/46Q==
1043710437

1043810438
uglify-js@^3.1.4, uglify-js@^3.10.4:
10439-
version "3.11.4"
10440-
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.11.4.tgz#b47b7ae99d4bd1dca65b53aaa69caa0909e6fadf"
10441-
integrity sha512-FyYnoxVL1D6+jDGQpbK5jW6y/2JlVfRfEeQ67BPCUg5wfCjaKOpr2XeceE4QL+MkhxliLtf5EbrMDZgzpt2CNw==
10439+
version "3.11.5"
10440+
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.11.5.tgz#d6788bc83cf35ff18ea78a65763e480803409bc6"
10441+
integrity sha512-btvv/baMqe7HxP7zJSF7Uc16h1mSfuuSplT0/qdjxseesDU+yYzH33eHBH+eMdeRXwujXspaCTooWHQVVBh09w==
1044210442

1044310443
ultron@~1.1.0:
1044410444
version "1.1.1"

0 commit comments

Comments
 (0)