Build minified for production (#155)
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 15 Feb 2021 15:55:38 +0000 (16:55 +0100)
committerGitHub <noreply@github.com>
Mon, 15 Feb 2021 15:55:38 +0000 (16:55 +0100)
commitf41629749a66b8e07d8f2fd6c5616c2abc625b35
treec2342e817aa0f07a8753dcfd46546b1635969376
parent62e1e20cc29a54c451af8a0a12630175fc825a8f
Build minified for production (#155)

* Build minified for production

And use dev build in CI

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* Rename scripts:

nothing -> default dev build
:prod -> production build

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* Trigger build analysis output on demand via an env variable

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* Always register source map support.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* Revert to one build output for coverage on sonar cloud.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* Revert "Revert to one build output for coverage on sonar cloud."

This reverts commit f3d990ba9878e4e6f097844cacba9e8e4b4c9121.

* Try with sourcemap: false

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* Build with sourcemap: true

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* Go back to previous sourcemap setting.

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* Change sonar sources

Co-authored-by: Alessandro Pio Ardizio <alessandroardizio94@gmail.com>
.eslintignore
.github/workflows/npmpublish.yml
.gitignore
.prettierignore
.vscode/launch.json
.vscode/tasks.json
package.json
rollup.config.mjs
sonar-project.properties