Skip to content

Commit

Permalink
Merge pull request #19 from nboisteault/update-mapbuilder
Browse files Browse the repository at this point in the history
Update mapbuilder dependencies
  • Loading branch information
nboisteault authored Apr 1, 2021
2 parents a7449e0 + 3f7cd4c commit e024f10
Show file tree
Hide file tree
Showing 13 changed files with 1,052 additions and 3,642 deletions.
3 changes: 3 additions & 0 deletions mapBuilder/www/js/dist/jspdf.js

Large diffs are not rendered by default.

447 changes: 447 additions & 0 deletions mapBuilder/www/js/dist/jspdf.js.LICENSE.txt

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mapBuilder/www/js/dist/jspdf.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion mapBuilder/www/js/dist/mapbuilder.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion mapBuilder/www/js/dist/mapbuilder.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion mapBuilder/www/js/dist/mapbuilderadmin.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion mapBuilder/www/js/dist/mapbuilderadmin.js.map

Large diffs are not rendered by default.

152 changes: 0 additions & 152 deletions mapBuilder/www/js/dist/vendors~jspdf.bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion mapBuilder/www/js/dist/vendors~jspdf.bundle.js.map

This file was deleted.

4,060 changes: 590 additions & 3,470 deletions mapBuilder/www/js/package-lock.json

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions mapBuilder/www/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@
"devDependencies": {
"css-loader": "^3.5.3",
"style-loader": "^1.2.1",
"webpack": "^4.44.1",
"webpack-cli": "^4.2.0",
"webpack-merge": "^4.2.2"
"webpack": "^5.28.0",
"webpack-cli": "^4.6.0"
},
"dependencies": {
"jspdf": "^1.5.3",
"jspdf": "^2.3.1",
"ol": "^6.3.1"
}
}
5 changes: 0 additions & 5 deletions mapBuilder/www/js/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ module.exports = {
mapbuilder: './main.js',
mapbuilderadmin: './mainadmin.js'
},
output: {
path: __dirname+'/dist/',
chunkFilename: '[name].bundle.js',
filename: '[name].js'
},
module: {
rules: [
{
Expand Down
10 changes: 4 additions & 6 deletions mapBuilder/www/js/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ module.exports = {
mapbuilder: './main.js',
mapbuilderadmin: './mainadmin.js'
},
output: {
path: __dirname+'/dist/',
chunkFilename: '[name].bundle.js',
filename: '[name].js'
},
module: {
rules: [
{
Expand All @@ -21,7 +16,10 @@ module.exports = {
],
},
externals: {
jquery: 'jQuery'
jquery: 'jQuery',
canvg: "canvg",
html2canvas: "html2canvas",
dompurify: "dompurify"
},
plugins: [
new webpack.DefinePlugin({
Expand Down

0 comments on commit e024f10

Please sign in to comment.