Skip to content

Commit

Permalink
upgrade to webpack 5
Browse files Browse the repository at this point in the history
  • Loading branch information
cchance27 committed Jun 24, 2021
1 parent 2340917 commit aedc5e8
Show file tree
Hide file tree
Showing 3 changed files with 2,102 additions and 2,584 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "src/app.js",
"scripts": {
"build": "npx webpack",
"web": "npx webpack-dev-server"
"web": "npx webpack serve"
},
"private": true,
"author": "Chris Chance",
Expand All @@ -14,14 +14,14 @@
"qrious": "^4.0.2"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"babel-loader": "^8.1.0",
"css-loader": "^3.5.1",
"file-loader": "^6.0.0",
"image-webpack-loader": "^6.0.0",
"webpack": "^4.42.1",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3"
"@babel/core": "^7.14.6",
"@babel/preset-env": "^7.14.7",
"babel-loader": "^8.2.2",
"css-loader": "^5.2.6",
"file-loader": "^6.2.0",
"image-webpack-loader": "^7.0.1",
"webpack": "^5.40.0",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "^3.11.2"
}
}
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {layout} from './layout';
import {generateQRDataURL} from './qr';
import * as style from './cnArcher.css'
import style from './cnArcher.css'
import templateLogo from './img/cnArcherLogo.png';
//import '@webcomponents/webcomponentsjs'; //<--- causes high cpu in edge/ie?

Expand Down
Loading

0 comments on commit aedc5e8

Please sign in to comment.