Commit 6e162fff authored by Piotr Gawron's avatar Piotr Gawron
Browse files

map file url is properly referenced

parent 1d64ea18
Pipeline #46774 passed with stage
in 18 minutes and 54 seconds
minerva (16.1.0~alpha.0) stable; urgency=medium minerva (16.1.0~alpha.0) stable; urgency=medium
* Small improvement: API provides information about modifier type (#1085) * Small improvement: API provides information about modifier type (#1085)
* Small improvement: map file for JavaScript is properly referenced (#1545)
* Bug fix: api endpoints were exposed without 'api' prefix * Bug fix: api endpoints were exposed without 'api' prefix
* Bug fix: anonymous user could upload file using API * Bug fix: anonymous user could upload file using API
* Bug fix: when passing JSON in patch/post methods contentType was not * Bug fix: when passing JSON in patch/post methods contentType was not
......
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
"main": "minerva.js", "main": "minerva.js",
"scripts": { "scripts": {
"build:css": "node scripts/build-css.js", "build:css": "node scripts/build-css.js",
"build:js": "browserify --debug --standalone minerva src/main/js/minerva.js | exorcist dist/minerva.js.map > dist/minerva.js ", "build:js": "browserify --debug --standalone minerva src/main/js/minerva.js | exorcist dist/minerva.js.map --url 'minerva.js.map.xhtml?ln=js' > dist/minerva.js ",
"build-browser-check:js": "browserify --debug --standalone BrowserCheck src/main/js/BrowserCheck.js | exorcist dist/BrowserCheck.js.map > dist/BrowserCheck.js ", "build-browser-check:js": "browserify --debug --standalone BrowserCheck src/main/js/BrowserCheck.js | exorcist dist/BrowserCheck.js.map --url 'BrowserCheck.js.map.xhtml?ln=js' > dist/BrowserCheck.js ",
"//": "rm -rf dist & rmdir /q /s dist & mkdir dist & browserify --debug --standalone minerva src/main/js/minerva.js | exorcist dist/minerva.js.map > dist/minerva.js & uglifyjs --compress --mangle --in-source-map dist/minerva.js.map --source-map-include-sources --source-map dist/minerva.min.js.map -o dist/minerva.min.js dist/minerva.js", "//": "rm -rf dist & rmdir /q /s dist & mkdir dist & browserify --debug --standalone minerva src/main/js/minerva.js | exorcist dist/minerva.js.map --url 'minerva.js.map.xhtml?ln=js' > dist/minerva.js & uglifyjs --compress --mangle --in-source-map dist/minerva.js.map --source-map-include-sources --source-map dist/minerva.min.js.map -o dist/minerva.min.js dist/minerva.js",
"build-deploy": "npm run build && npm run deploy", "build-deploy": "npm run build && npm run deploy",
"build": "npm run clean && npm run build:css && npm run build:js && npm run build-browser-check:js", "build": "npm run clean && npm run build:css && npm run build:js && npm run build-browser-check:js",
"clean": "node scripts/clean.js", "clean": "node scripts/clean.js",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment