Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Géocontrib Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GéoContrib
Géocontrib Frontend
Compare revisions
8cb4d0361e66d47b6444f6de6469dbf083f4fd2a to develop
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
geocontrib/geocontrib-frontend
Select target project
No results found
develop
Select Git revision
Swap
Target
ext_matthieu/geocontrib-frontend
Select target project
geocontrib/geocontrib-frontend
ext_matthieu/geocontrib-frontend
fnecas/geocontrib-frontend
MatthieuE/geocontrib-frontend
4 results
8cb4d0361e66d47b6444f6de6469dbf083f4fd2a
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vue.config.js
+54
-43
54 additions, 43 deletions
vue.config.js
webpack.config.js
+18
-0
18 additions, 0 deletions
webpack.config.js
with
72 additions
and
43 deletions
vue.config.js
View file @
ee17a921
const
webpack
=
require
(
'
webpack
'
)
const
fs
=
require
(
'
fs
'
)
const
packageJson
=
fs
.
readFileSync
(
'
./package.json
'
)
const
version
=
JSON
.
parse
(
packageJson
).
version
||
0
const
webpack
=
require
(
'
webpack
'
);
const
fs
=
require
(
'
fs
'
);
const
packageJson
=
fs
.
readFileSync
(
'
./package.json
'
);
const
version
=
JSON
.
parse
(
packageJson
).
version
||
0
;
module
.
exports
=
{
publicPath
:
'
/geocontrib/
'
,
devServer
:
{
proxy
:
{
'
^/api
'
:
{
target
:
'
https://geocontrib.dev.neogeo.fr/api
'
,
ws
:
true
,
changeOrigin
:
true
}
}
publicPath
:
'
/geocontrib/
'
,
devServer
:
{
proxy
:
{
'
^/api
'
:
{
target
:
'
https://geocontrib.dev.neogeo.fr/api
'
,
ws
:
true
,
changeOrigin
:
true
}
}
},
pwa
:
{
workboxPluginMode
:
'
InjectManifest
'
,
workboxOptions
:
{
swSrc
:
'
src/service-worker.js
'
,
exclude
:
[
/
\.
map$/
,
/config
\/
config.*
\.
json$/
,
/manifest
\.
json$/
],
},
pwa
:
{
workboxPluginMode
:
'
InjectManifest
'
,
workboxOptions
:
{
swSrc
:
'
src/service-worker.js
'
,
exclude
:
[
/
\.
map$/
,
/config
\/
config.*
\.
json$/
,
/manifest
\.
json$/
],
},
iconPaths
:
{
faviconSVG
:
null
,
favicon32
:
null
,
favicon16
:
null
,
appleTouchIcon
:
null
,
maskIcon
:
null
,
msTileImage
:
null
,
},
themeColor
:
'
#1da025
'
},
configureWebpack
:
{
plugins
:
[
new
webpack
.
DefinePlugin
({
'
process.env
'
:
{
PACKAGE_VERSION
:
'
"
'
+
version
+
'
"
'
}
})
]
iconPaths
:
{
faviconSVG
:
null
,
favicon32
:
null
,
favicon16
:
null
,
appleTouchIcon
:
null
,
maskIcon
:
null
,
msTileImage
:
null
,
},
// the rest of your original module.exports code goes here
}
themeColor
:
'
#1da025
'
},
configureWebpack
:
{
devtool
:
'
source-map
'
,
plugins
:
[
new
webpack
.
DefinePlugin
({
'
process.env
'
:
{
PACKAGE_VERSION
:
'
"
'
+
version
+
'
"
'
}
})
]
},
transpileDependencies
:
[
// Add dependencies that use modern JavaScript syntax, based on encountered errors
'
ol
'
,
'
color-rgba
'
,
'
color-parse
'
,
'
@sentry/browser
'
,
'
@sentry/core
'
,
'
@sentry/vue
'
,
'
@sentry-internal
'
]
};
This diff is collapsed.
Click to expand it.
webpack.config.js
0 → 100644
View file @
ee17a921
module
.
exports
=
{
module
:
{
rules
:
[
{
test
:
/
\.
js$/
,
exclude
:
/node_modules/
,
use
:
{
loader
:
'
babel-loader
'
}
},
{
test
:
/
\.
vue$/
,
loader
:
'
vue-loader
'
}
]
}
};
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Prev
1
…
5
6
7
8
9
Next