Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Commit 2fcfd73

Browse files
committed
chore(build) Enable source map on all packages for easier development
Signed-off-by: Jerome Simeon <[email protected]>
1 parent 41c986b commit 2fcfd73

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ install: |
1313
npm install -g lerna@^3.15.0
1414
lerna bootstrap 2>&1
1515
date
16-
script: lerna run build
16+
script: lerna run build:prod
1717
deploy:
1818
provider: script
1919
script: 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./.travis/deploy.sh; fi'

packages/ui-components/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"build:app": "react-scripts build",
1616
"test": "react-scripts test --env=jest-environment-jsdom-sixteen",
1717
"eject": "react-scripts eject",
18-
"build": "npx rollup -c",
18+
"build": "npx rollup -c --sourcemap",
19+
"build:prod": "npx rollup -c",
1920
"fix:js": "npx eslint --fix ./src/",
2021
"lint:js": "npx eslint ./src/",
2122
"lint:style": "npx stylelint ./src/",

packages/ui-concerto/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"build:app": "react-scripts build",
2121
"test": "react-scripts test --env=jest-environment-jsdom-sixteen",
2222
"eject": "react-scripts eject",
23-
"build": "npx rollup -c",
23+
"build": "npx rollup -c --sourcemap",
24+
"build:prod": "npx rollup -c",
2425
"fix:js": "npx eslint --fix ./src/",
2526
"lint:js": "npx eslint ./src/",
2627
"lint:style": "npx stylelint ./src/",

packages/ui-contract-editor/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"build:app": "react-scripts build",
2020
"test": "react-scripts test --env=jest-environment-jsdom-sixteen",
2121
"eject": "react-scripts eject",
22-
"build": "npx rollup -c",
22+
"build": "npx rollup -c --sourcemap",
23+
"build:prod": "npx rollup -c",
2324
"fix:js": "npx eslint --fix ./src/",
2425
"lint:js": "npx eslint ./src/",
2526
"lint:style": "npx stylelint ./src/",

packages/ui-markdown-editor/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"build:app": "react-scripts build",
1818
"test": "react-scripts test --env=jest-environment-jsdom-sixteen",
1919
"eject": "react-scripts eject",
20-
"build": "npx rollup -c",
20+
"build": "npx rollup -c --sourcemap",
21+
"build:prod": "npx rollup -c",
2122
"fix:js": "npx eslint --fix ./src/",
2223
"lint:js": "npx eslint ./src/",
2324
"lint:style": "npx stylelint ./src/",

0 commit comments

Comments
 (0)