enable source map in the dist

This commit is contained in:
Eugenio Romano
2018-03-22 17:46:44 +00:00
parent ea0f783015
commit 535a445c95
2 changed files with 3 additions and 2 deletions

View File

@@ -8,10 +8,10 @@
"prestart": "npm run validate-config", "prestart": "npm run validate-config",
"start": "npm run server-versions && rimraf dist && ng serve --host 0.0.0.0 --proxy-config proxy.conf.js --app dist --open", "start": "npm run server-versions && rimraf dist && ng serve --host 0.0.0.0 --proxy-config proxy.conf.js --app dist --open",
"start:dev": " npm run lint && npm run server-versions && rimraf dist && npm run clean-lib-angular && concurrently \"ng serve --host 0.0.0.0 --disable-host-check --app dev pp-dev --proxy-config proxy.conf.js --open\" \"npm run style:dev --watch\" \"npm run copy:dev\" ", "start:dev": " npm run lint && npm run server-versions && rimraf dist && npm run clean-lib-angular && concurrently \"ng serve --host 0.0.0.0 --disable-host-check --app dev pp-dev --proxy-config proxy.conf.js --open\" \"npm run style:dev --watch\" \"npm run copy:dev\" ",
"start:dist": "npm run server-versions && rimraf dist && node --max_old_space_size=30000 node_modules/.bin/ng serve --prod --host 0.0.0.0 --disable-host-check --app dist", "start:dist": "npm run server-versions && rimraf dist && node --max_old_space_size=30000 node_modules/.bin/ng serve --prod --sourcemaps --host 0.0.0.0 --disable-host-check --app dist",
"build": "npm run validate-config && npm run server-versions && rimraf dist && ng build --app dist", "build": "npm run validate-config && npm run server-versions && rimraf dist && ng build --app dist",
"build:dev": "npm run validate-config && npm run lint && npm run style:dev && npm run server-versions && rimraf dist && ng build --app dev", "build:dev": "npm run validate-config && npm run lint && npm run style:dev && npm run server-versions && rimraf dist && ng build --app dev",
"build:dist": "npm run validate-config && npm run server-versions && rimraf dist && ng build --prod --app dist", "build:dist": "npm run validate-config && npm run server-versions && rimraf dist && ng build --prod --sourcemaps --app dist",
"style:dev": "npm run webpack -- --config config/webpack.style.js --progress --profile --bail", "style:dev": "npm run webpack -- --config config/webpack.style.js --progress --profile --bail",
"copy:dev": "node ./config/dev-copy-watch.js", "copy:dev": "node ./config/dev-copy-watch.js",
"test": " ng test --single-run", "test": " ng test --single-run",

View File

@@ -1,4 +1,5 @@
@import './app/components/app-layout/app-layout.component.scss'; @import './app/components/app-layout/app-layout.component.scss';
@import './app/components/files/files.component.scss';
@import '~@alfresco/adf-content-services/theming'; @import '~@alfresco/adf-content-services/theming';
@import '~@alfresco/adf-process-services/theming'; @import '~@alfresco/adf-process-services/theming';