mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-18 20:47:51 +00:00
Revert "Try to build production with sourcemaps"
This reverts commit f591340411
.
This commit is contained in:
parent
f591340411
commit
166756cd7c
45
.travis.yml
45
.travis.yml
@ -46,31 +46,26 @@ after_success:
|
|||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
# greenkeeper-lockfile support
|
# greenkeeper-lockfile support
|
||||||
# - greenkeeper-lockfile-upload
|
- greenkeeper-lockfile-upload
|
||||||
|
|
||||||
# publish on gns3.github.io
|
# publish on gns3.github.io
|
||||||
# - yarn buildforgithub --base-href /${TRAVIS_BRANCH}/
|
- yarn buildforgithub --base-href /${TRAVIS_BRANCH}/
|
||||||
# - export GIT_LAST_LOG="$(git log -1 --pretty=%B)"
|
- export GIT_LAST_LOG="$(git log -1 --pretty=%B)"
|
||||||
# - git clone https://${GITHUB_CREDENTIALS}@github.com/GNS3/gns3.github.io.git github-pages
|
- git clone https://${GITHUB_CREDENTIALS}@github.com/GNS3/gns3.github.io.git github-pages
|
||||||
# - mkdir -p github-pages/${TRAVIS_BRANCH}
|
- mkdir -p github-pages/${TRAVIS_BRANCH}
|
||||||
# - rsync -r --delete dist/ github-pages/${TRAVIS_BRANCH}
|
- rsync -r --delete dist/ github-pages/${TRAVIS_BRANCH}
|
||||||
# - cd github-pages/${TRAVIS_BRANCH}
|
- cd github-pages/${TRAVIS_BRANCH}
|
||||||
# - git config user.email "developers@gns3.net"
|
- git config user.email "developers@gns3.net"
|
||||||
# - git config user.name "GNS3 Build"
|
- git config user.name "GNS3 Build"
|
||||||
# - git add -A
|
- git add -A
|
||||||
# - git commit -m "Deploy - $GIT_LAST_LOG"
|
- git commit -m "Deploy - $GIT_LAST_LOG"
|
||||||
# - git push origin master
|
- git push origin master
|
||||||
# - cd $TRAVIS_BUILD_DIR
|
- cd $TRAVIS_BUILD_DIR
|
||||||
|
|
||||||
|
|
||||||
# publish
|
# publish
|
||||||
# - yarn buildforelectron
|
- yarn buildforelectron
|
||||||
# - |
|
- |
|
||||||
# python3 -m pip install -r scripts/requirements.txt
|
python3 -m pip install -r scripts/requirements.txt
|
||||||
# python3 scripts/build.py download
|
python3 scripts/build.py download
|
||||||
# python3 scripts/build.py build_exe -b dist/exe.gns3server -s
|
python3 scripts/build.py build_exe -b dist/exe.gns3server -s
|
||||||
# python3 scripts/build.py validate -b dist
|
python3 scripts/build.py validate -b dist
|
||||||
# - yarn electron-builder --linux --x64 --publish always
|
- yarn electron-builder --linux --x64 --publish always
|
||||||
|
|
||||||
# build production zip for gns3server
|
|
||||||
- yarn ng build --configuration=production --base-href /static/web-ui/
|
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
"production": {
|
"production": {
|
||||||
"optimization": true,
|
"optimization": true,
|
||||||
"outputHashing": "all",
|
"outputHashing": "all",
|
||||||
"sourceMap": true,
|
"sourceMap": false,
|
||||||
"extractCss": true,
|
"extractCss": true,
|
||||||
"namedChunks": false,
|
"namedChunks": false,
|
||||||
"aot": true,
|
"aot": true,
|
||||||
@ -49,7 +49,7 @@
|
|||||||
"electronProd": {
|
"electronProd": {
|
||||||
"optimization": true,
|
"optimization": true,
|
||||||
"outputHashing": "all",
|
"outputHashing": "all",
|
||||||
"sourceMap": true,
|
"sourceMap": false,
|
||||||
"extractCss": true,
|
"extractCss": true,
|
||||||
"namedChunks": false,
|
"namedChunks": false,
|
||||||
"aot": true,
|
"aot": true,
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
"outDir": "./dist/out-tsc",
|
"outDir": "./dist/out-tsc",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"inlineSources": true,
|
|
||||||
"sourceRoot": "/",
|
|
||||||
"declaration": false,
|
"declaration": false,
|
||||||
"module": "es2015",
|
"module": "es2015",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
|
Loading…
Reference in New Issue
Block a user