Skip to content

Commit

Permalink
Remove Uglify Minification from Build Step for now
Browse files Browse the repository at this point in the history
  • Loading branch information
sarangan12 committed Jan 22, 2021
1 parent d5c8453 commit fe346a0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion sdk/quantum/quantum/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "./esm/index.d.ts",
"mainEntryPointFilePath": "./types/index.d.ts",
"docModel": { "enabled": true },
"apiReport": { "enabled": true, "reportFolder": "./review" },
"dtsRollup": {
Expand Down
5 changes: 2 additions & 3 deletions sdk/quantum/quantum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,10 @@
"tsconfig.json"
],
"scripts": {
"build": "tsc && rollup -c rollup.config.js && npm run minify && mkdirp ./review && npm run extract-api",
"build": "tsc && rollup -c rollup.config.js && mkdirp ./review && npm run extract-api",
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/quantum.js.map'\" -o ./dist/quantum.min.js ./dist/quantum.js",
"prepack": "npm install && npm run build",
"extract-api": "api-extractor run --local"
},
"sideEffects": false,
"autoPublish": true
"sideEffects": false
}
2 changes: 1 addition & 1 deletion sdk/quantum/quantum/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import sourcemaps from "rollup-plugin-sourcemaps";

/** @type {rollup.RollupFileOptions} */
const config = {
input: "./esm/quantumClient.js",
input: "./dist-esm/quantumClient.js",
external: ["@azure/core-http"],
output: {
file: "./dist/quantum.js",
Expand Down

0 comments on commit fe346a0

Please sign in to comment.