Skip to content

Commit eb1bd81

Browse files
committed
Improve assets management and browser globals usage
1 parent 8996b23 commit eb1bd81

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
.githib
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-next",
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.js

+3
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,9 @@ module.exports = () => {
226226
onBuildStart: shellScripts
227227
})
228228
],
229+
externals: {
230+
jquery: 'jQuery'
231+
},
229232
cache: true,
230233
bail: false,
231234
devtool: isDevelopment ? 'source-map' : false,

yarn.lock

+6-6
Original file line numberDiff line numberDiff line change
@@ -4016,9 +4016,9 @@ [email protected]:
40164016
integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=
40174017

40184018
electron-to-chromium@^1.3.585:
4019-
version "1.3.585"
4020-
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.585.tgz#71cdb722c73488b9475ad1c572cf43a763ef9081"
4021-
integrity sha512-xoeqjMQhgHDZM7FiglJAb2aeOxHZWFruUc3MbAGTgE7GB8rr5fTn1Sdh5THGuQtndU3GuXlu91ZKqRivxoCZ/A==
4019+
version "1.3.586"
4020+
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.586.tgz#1484f59b2f820f5f3278f0c6ead71d05b19a1311"
4021+
integrity sha512-or8FCbQCRlPZHkOoqBULOI9hzTiStVIQqDLgAPt8pzY+swTrW+89vsqd24Zn+Iv4guAJLxRBD6OR5AmbpabGDA==
40224022

40234023
elliptic@^6.5.3:
40244024
version "6.5.3"
@@ -11609,9 +11609,9 @@ ua-parser-js@^0.7.18:
1160911609
integrity sha512-YUxzMjJ5T71w6a8WWVcMGM6YWOTX27rCoIQgLXiWaxqXSx9D7DNjiGWn1aJIRSQ5qr0xuhra77bSIh6voR/46Q==
1161011610

1161111611
uglify-js@^3.1.4, uglify-js@^3.10.4:
11612-
version "3.11.4"
11613-
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.11.4.tgz#b47b7ae99d4bd1dca65b53aaa69caa0909e6fadf"
11614-
integrity sha512-FyYnoxVL1D6+jDGQpbK5jW6y/2JlVfRfEeQ67BPCUg5wfCjaKOpr2XeceE4QL+MkhxliLtf5EbrMDZgzpt2CNw==
11612+
version "3.11.5"
11613+
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.11.5.tgz#d6788bc83cf35ff18ea78a65763e480803409bc6"
11614+
integrity sha512-btvv/baMqe7HxP7zJSF7Uc16h1mSfuuSplT0/qdjxseesDU+yYzH33eHBH+eMdeRXwujXspaCTooWHQVVBh09w==
1161511615

1161611616
ultron@~1.1.0:
1161711617
version "1.1.1"

0 commit comments

Comments
 (0)