forked from Azure/azure-sdk-for-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update test-browser output folder (Azure#14384)
- Loading branch information
1 parent
e46f371
commit ad3ce2c
Showing
41 changed files
with
72 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,7 +76,7 @@ export function nodeConfig(test = false) { | |
); | ||
|
||
// different output file | ||
baseConfig.output.file = "test-dist/index.node.js"; | ||
baseConfig.output.file = "dist-test/index.node.js"; | ||
|
||
// mark assert packages we use as external | ||
baseConfig.external.push("assert"); | ||
|
@@ -163,7 +163,7 @@ export function browserConfig(test = false) { | |
...[shim({ path: `export function join() {}`, dotenv: `export function config() { }` })] | ||
); | ||
|
||
baseConfig.output.file = "test-browser/index.js"; | ||
baseConfig.output.file = "dist-test/index.browser.js"; | ||
|
||
// Disable tree-shaking of test code. In [email protected], rollup started respecting | ||
// the "sideEffects" field in package.json. Since our package.json sets "sideEffects=false", this also | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,7 +103,7 @@ export function browserConfig(test = false) { | |
console.log("yes test"); | ||
baseConfig.input = "dist-esm/test/**/*.spec.js"; | ||
baseConfig.plugins.unshift(multiEntry({ exports: false })); | ||
baseConfig.output.file = "test-browser/index.js"; | ||
baseConfig.output.file = "dist-test/index.browser.js"; | ||
baseConfig.context = "null"; | ||
|
||
// Disable tree-shaking of test code. In [email protected], rollup started respecting | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -140,7 +140,7 @@ export function browserConfig(test = false) { | |
if (test) { | ||
baseConfig.input = ["dist-esm/test/*.spec.js", "dist-esm/test/browser/*.spec.js"]; | ||
baseConfig.plugins.unshift(multiEntry({ exports: false })); | ||
baseConfig.output.file = "test-browser/index.js"; | ||
baseConfig.output.file = "dist-test/index.browser.js"; | ||
|
||
// Disable tree-shaking of test code. In [email protected], rollup started respecting | ||
// the "sideEffects" field in package.json. Since our package.json sets "sideEffects=false", this also | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,7 +86,7 @@ export function browserConfig(test = false) { | |
if (test) { | ||
baseConfig.input = "dist-esm/test/**/*.spec.js"; | ||
baseConfig.plugins.unshift(multiEntry({ exports: false })); | ||
baseConfig.output.file = "test-browser/index.js"; | ||
baseConfig.output.file = "dist-test/index.browser.js"; | ||
|
||
// Disable tree-shaking of test code. In [email protected], rollup started respecting | ||
// the "sideEffects" field in package.json. Since our package.json sets "sideEffects=false", this also | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,7 +89,7 @@ export function browserConfig(test = false) { | |
if (test) { | ||
baseConfig.input = "dist-esm/test/**/*.spec.js"; | ||
baseConfig.plugins.unshift(multiEntry({ exports: false })); | ||
baseConfig.output.file = "test-browser/index.js"; | ||
baseConfig.output.file = "dist-test/index.browser.js"; | ||
|
||
// Disable tree-shaking of test code. In [email protected], rollup started respecting | ||
// the "sideEffects" field in package.json. Since our package.json sets "sideEffects=false", this also | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.