Skip to content

Commit

Permalink
Improve assets management and browser globals usage
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptex committed Nov 3, 2020
1 parent f52da24 commit 0a28a00
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 7 deletions.
11 changes: 11 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: atanas
open_collective: # Replace with a single Open Collective username
ko_fi: scriptex
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: ['paypal.me/scriptex']
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ Thumbs.db
# Config files
.github
.circleci
.travis.yml
renovate.json
_config.yml
_.config.yml
.whitesource

# Project specific
readme.svg
webpack-mpa.svg
webpack-mpa.sketch
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webpack-mpa-ts",
"version": "3.5.0",
"version": "3.6.0",
"description": "Multi page app setup with webpack",
"scripts": {
"build": "webpack --NODE_ENV=production",
Expand Down
3 changes: 3 additions & 0 deletions webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,9 @@ module.exports = (): webpack.Configuration => {
onBuildStart: shellScripts
})
],
externals: {
jquery: 'jQuery'
},
cache: true,
bail: false,
devtool: isDevelopment ? 'source-map' : false,
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3473,9 +3473,9 @@ [email protected]:
integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=

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

elliptic@^6.5.3:
version "6.5.3"
Expand Down Expand Up @@ -10436,9 +10436,9 @@ ua-parser-js@^0.7.18:
integrity sha512-YUxzMjJ5T71w6a8WWVcMGM6YWOTX27rCoIQgLXiWaxqXSx9D7DNjiGWn1aJIRSQ5qr0xuhra77bSIh6voR/46Q==

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

ultron@~1.1.0:
version "1.1.1"
Expand Down

0 comments on commit 0a28a00

Please sign in to comment.