Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'v2' into wbinnssmith/css-sourcemaps
- Loading branch information
Showing
24 changed files
with
209 additions
and
46 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
3 changes: 3 additions & 0 deletions
3
packages/core/integration-tests/test/integration/less-url-behavior/index.less
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,3 @@ | ||
.index { | ||
behavior: url(#default#VML); | ||
} |
1 change: 1 addition & 0 deletions
1
...ation-tests/test/integration/scope-hoisting/commonjs/tree-shaking-no-unknown-objects/a.js
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 @@ | ||
module.exports = window; |
3 changes: 3 additions & 0 deletions
3
...n-tests/test/integration/scope-hoisting/commonjs/tree-shaking-no-unknown-objects/index.js
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,3 @@ | ||
const foo = require('./a'); | ||
foo.bar = 42; | ||
output = window.bar; |
4 changes: 4 additions & 0 deletions
4
...integration-tests/test/integration/scope-hoisting/es6/re-export-bundle-boundary2/async.js
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,4 @@ | ||
import { layers } from './library/index.js'; | ||
|
||
export default layers.a; | ||
|
3 changes: 3 additions & 0 deletions
3
...integration-tests/test/integration/scope-hoisting/es6/re-export-bundle-boundary2/index.js
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,3 @@ | ||
import t from "./library/components.js"; | ||
|
||
output = import("./async.js").then((c) => [c.default, t().a]); |
4 changes: 4 additions & 0 deletions
4
...ests/test/integration/scope-hoisting/es6/re-export-bundle-boundary2/library/components.js
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,4 @@ | ||
import { layers } from './constants.js'; | ||
export default function(){ | ||
return layers; | ||
} |
3 changes: 3 additions & 0 deletions
3
...tests/test/integration/scope-hoisting/es6/re-export-bundle-boundary2/library/constants.js
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,3 @@ | ||
export const layers = { | ||
a: "foo", | ||
}; |
1 change: 1 addition & 0 deletions
1
...ion-tests/test/integration/scope-hoisting/es6/re-export-bundle-boundary2/library/index.js
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 * from "./constants.js"; |
3 changes: 3 additions & 0 deletions
3
...integration-tests/test/integration/scope-hoisting/es6/re-export-bundle-boundary3/index.js
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,3 @@ | ||
import { themed } from './theme/components.js'; | ||
|
||
output = import('./media-card/index.js').then(m => [m.default, themed()]) |
3 changes: 3 additions & 0 deletions
3
...-tests/test/integration/scope-hoisting/es6/re-export-bundle-boundary3/media-card/index.js
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,3 @@ | ||
import { layers } from '../theme/index.js'; | ||
|
||
export default Object.keys(layers); |
4 changes: 4 additions & 0 deletions
4
...-tests/test/integration/scope-hoisting/es6/re-export-bundle-boundary3/theme/components.js
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,4 @@ | ||
export { createTheme } from "./createTheme.js"; | ||
export function themed() { | ||
return "themed"; | ||
} |
3 changes: 3 additions & 0 deletions
3
...tests/test/integration/scope-hoisting/es6/re-export-bundle-boundary3/theme/createTheme.js
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,3 @@ | ||
export function createTheme() { | ||
return "foo"; | ||
} |
5 changes: 5 additions & 0 deletions
5
...ation-tests/test/integration/scope-hoisting/es6/re-export-bundle-boundary3/theme/index.js
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,5 @@ | ||
export var layers = { | ||
a: 1, | ||
b: 2 | ||
}; | ||
export * from './createTheme.js'; |
1 change: 1 addition & 0 deletions
1
...ntegration-tests/test/integration/scope-hoisting/es6/tree-shaking-no-unknown-objects/a.js
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 const foo = window; |
5 changes: 5 additions & 0 deletions
5
...ration-tests/test/integration/scope-hoisting/es6/tree-shaking-no-unknown-objects/index.js
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,5 @@ | ||
import {foo} from './a'; | ||
|
||
foo.bar = 42; | ||
|
||
output = window.bar; |
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.