-
Notifications
You must be signed in to change notification settings - Fork 916
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix backwards compatability for devOptions.out (#1342)
- Loading branch information
1 parent
e7fb6ec
commit 664c82e
Showing
8 changed files
with
81 additions
and
2 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
export default {"MODE":"production","NODE_ENV":"production"}; |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"private": true, | ||
"version": "1.0.1", | ||
"name": "@snowpack/test-config-out-flag", | ||
"description": "Test for --out flag", | ||
"scripts": { | ||
"testbuild": "snowpack build --out TEST_BUILD_OUT" | ||
}, | ||
"snowpack": { | ||
"exclude": [ | ||
"__snapshots__" | ||
] | ||
}, | ||
"devDependencies": { | ||
"cross-env": "^7.0.2", | ||
"snowpack": "^2.12.1" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
console.log('fooey'); |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`snowpack build config-out-flag: allFiles 1`] = ` | ||
Array [ | ||
"__snowpack__/env.js", | ||
"package.json", | ||
"src/index.js", | ||
] | ||
`; | ||
|
||
exports[`snowpack build config-out-flag: build/__snowpack__/env.js 1`] = `"export default {\\"MODE\\":\\"production\\",\\"NODE_ENV\\":\\"production\\"};"`; | ||
|
||
exports[`snowpack build config-out-flag: build/package.json 1`] = ` | ||
"{ | ||
\\"private\\": true, | ||
\\"version\\": \\"1.0.1\\", | ||
\\"name\\": \\"@snowpack/test-config-out-flag\\", | ||
\\"description\\": \\"Test for --out flag\\", | ||
\\"scripts\\": { | ||
\\"testbuild\\": \\"snowpack build --out TEST_BUILD_OUT\\" | ||
}, | ||
\\"snowpack\\": { | ||
\\"exclude\\": [ | ||
\\"__snapshots__\\" | ||
] | ||
}, | ||
\\"devDependencies\\": { | ||
\\"cross-env\\": \\"^7.0.2\\", | ||
\\"snowpack\\": \\"^2.12.1\\" | ||
} | ||
}" | ||
`; | ||
|
||
exports[`snowpack build config-out-flag: build/src/index.js 1`] = `"console.log('fooey');"`; |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"private": true, | ||
"version": "1.0.1", | ||
"name": "@snowpack/test-config-out-flag", | ||
"description": "Test for --out flag", | ||
"scripts": { | ||
"testbuild": "snowpack build --out TEST_BUILD_OUT" | ||
}, | ||
"snowpack": { | ||
"exclude": [ | ||
"__snapshots__" | ||
] | ||
}, | ||
"devDependencies": { | ||
"cross-env": "^7.0.2", | ||
"snowpack": "^2.12.1" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
console.log('fooey'); |
664c82e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: