-
Notifications
You must be signed in to change notification settings - Fork 27k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
next-dev test runner: Check in and use webpack's chunk test cases (ve…
…rcel/turborepo#212) This commits webpack's chunk tests (test/cases/chunks) and skips those that do not pass yet. Test Plan: `cargo test -p next-dev -- --nocapture` and verify the non-skipped tests run.
- Loading branch information
1 parent
1d8b74c
commit 4778270
Showing
112 changed files
with
926 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
packages/next-swc/crates/next-dev/tests/integration/webpack/LICENSE-webpack
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,20 @@ | ||
Copyright JS Foundation and other contributors | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
'Software'), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/context-weak/dir/four.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 = 4 |
29 changes: 29 additions & 0 deletions
29
...xt-swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/context-weak/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,29 @@ | ||
it("should not bundle context requires with asyncMode === 'weak'", function () { | ||
var contextRequire = require.context('.', false, /two/, 'weak') | ||
expect(function () { | ||
contextRequire('./two') | ||
}).toThrowError(/not available/) | ||
}) | ||
|
||
it("should not bundle context requires with asyncMode === 'weak' using import.meta.webpackContext", function () { | ||
const contextRequire = import.meta.webpackContext('.', { | ||
recursive: false, | ||
regExp: /two/, | ||
mode: 'weak', | ||
}) | ||
expect(function () { | ||
contextRequire('./two') | ||
}).toThrowError(/not available/) | ||
}) | ||
|
||
it("should find module with asyncMode === 'weak' when required elsewhere", function () { | ||
var contextRequire = require.context('.', false, /.+/, 'weak') | ||
expect(contextRequire('./three')).toBe(3) | ||
require('./three') // in a real app would be served as a separate chunk | ||
}) | ||
|
||
it("should find module with asyncMode === 'weak' when required elsewhere (recursive)", function () { | ||
var contextRequire = require.context('.', true, /.+/, 'weak') | ||
expect(contextRequire('./dir/four')).toBe(4) | ||
require('./dir/four') // in a real app would be served as a separate chunk | ||
}) |
1 change: 1 addition & 0 deletions
1
...xt-swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/context-weak/three.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 = 3 |
1 change: 1 addition & 0 deletions
1
...next-swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/context-weak/two.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 = 2 |
9 changes: 9 additions & 0 deletions
9
...es/next-swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/context/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,9 @@ | ||
it('should also work in a chunk', function (done) { | ||
require.ensure([], function (require) { | ||
var contextRequire = require.context('.', false, /two/) | ||
expect(contextRequire('./two')).toBe(2) | ||
var tw = 'tw' | ||
expect(require('.' + '/' + tw + 'o')).toBe(2) | ||
done() | ||
}) | ||
}) |
1 change: 1 addition & 0 deletions
1
...ages/next-swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/context/two.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 = 2 |
11 changes: 11 additions & 0 deletions
11
...t-swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/import-circle/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,11 @@ | ||
import leftHelix from './leftHelix' | ||
import rightHelix from './rightHelix' | ||
|
||
it('should import generate ensure function for this', () => { | ||
return Promise.all([leftHelix.run(), rightHelix.run()]) | ||
}) | ||
|
||
export default { | ||
leftHelix, | ||
rightHelix, | ||
} |
6 changes: 6 additions & 0 deletions
6
...c/crates/next-dev/tests/integration/webpack/chunks/__skipped__/import-circle/leftHelix.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,6 @@ | ||
import leftHelixPrime, { run } from './leftHelixPrime' | ||
|
||
export default { | ||
leftHelixPrime, | ||
run, | ||
} |
9 changes: 9 additions & 0 deletions
9
...tes/next-dev/tests/integration/webpack/chunks/__skipped__/import-circle/leftHelixPrime.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,9 @@ | ||
import rightHelixPrime from './rightHelixPrime' | ||
|
||
export function run() { | ||
return import(/* webpackChunkName: "left" */ './leftHelix') | ||
} | ||
|
||
export default { | ||
rightHelixPrime: () => rightHelixPrime, | ||
} |
6 changes: 6 additions & 0 deletions
6
.../crates/next-dev/tests/integration/webpack/chunks/__skipped__/import-circle/rightHelix.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,6 @@ | ||
import rightHelixPrime, { run } from './rightHelixPrime' | ||
|
||
export default { | ||
rightHelixPrime, | ||
run, | ||
} |
9 changes: 9 additions & 0 deletions
9
...es/next-dev/tests/integration/webpack/chunks/__skipped__/import-circle/rightHelixPrime.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,9 @@ | ||
import leftHelixPrime from './leftHelixPrime' | ||
|
||
export function run() { | ||
return import(/* webpackChunkName: "right" */ './rightHelix') | ||
} | ||
|
||
export default { | ||
leftHelixPrime: () => leftHelixPrime, | ||
} |
1 change: 1 addition & 0 deletions
1
.../chunks/__skipped__/import-context-exist-chunk/dir-initial-with-fake-map/initialModule.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 default 'initialModuleDefault' |
1 change: 1 addition & 0 deletions
1
...chunks/__skipped__/import-context-exist-chunk/dir-initial-with-fake-map/initialModule2.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 @@ | ||
exports.default = 'other' |
1 change: 1 addition & 0 deletions
1
...ration/webpack/chunks/__skipped__/import-context-exist-chunk/dir-initial/initialModule.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 default 'initialModuleDefault' |
21 changes: 21 additions & 0 deletions
21
...next-dev/tests/integration/webpack/chunks/__skipped__/import-context-exist-chunk/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,21 @@ | ||
it('should resolve when import existed chunk (#8626)', function (done) { | ||
require.context('./dir-initial/') | ||
const fileName = 'initialModule' | ||
import(`./dir-initial/${fileName}`) | ||
.then(({ default: m }) => { | ||
expect(m).toBe('initialModuleDefault') | ||
done() | ||
}) | ||
.catch(done) | ||
}) | ||
|
||
it('should resolve when import existed chunk with fake maps', function (done) { | ||
require.context('./dir-initial-with-fake-map/') | ||
const fileName = 'initialModule' | ||
import(`./dir-initial-with-fake-map/${fileName}`) | ||
.then(({ default: m }) => { | ||
expect(m).toBe('initialModuleDefault') | ||
done() | ||
}) | ||
.catch(done) | ||
}) |
1 change: 1 addition & 0 deletions
1
...wc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/import-context/dir/one.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 = 1 |
1 change: 1 addition & 0 deletions
1
.../crates/next-dev/tests/integration/webpack/chunks/__skipped__/import-context/dir/three.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 = 3 |
1 change: 1 addition & 0 deletions
1
...wc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/import-context/dir/two.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 = 2 |
1 change: 1 addition & 0 deletions
1
...c/crates/next-dev/tests/integration/webpack/chunks/__skipped__/import-context/dir2/one.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 = 1 |
1 change: 1 addition & 0 deletions
1
...crates/next-dev/tests/integration/webpack/chunks/__skipped__/import-context/dir2/three.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 = 3 |
1 change: 1 addition & 0 deletions
1
...c/crates/next-dev/tests/integration/webpack/chunks/__skipped__/import-context/dir2/two.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 = 2 |
42 changes: 42 additions & 0 deletions
42
...-swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/import-context/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,42 @@ | ||
function testCase(load, done) { | ||
load('two', 2, function () { | ||
var sync = true | ||
load('one', 1, function () { | ||
expect(sync).toBe(false) | ||
load('three', 3, function () { | ||
var sync = true | ||
load('two', 2, function () { | ||
expect(sync).toBe(true) | ||
done() | ||
}) | ||
Promise.resolve() | ||
.then(function () {}) | ||
.then(function () {}) | ||
.then(function () { | ||
sync = false | ||
}) | ||
}) | ||
}) | ||
Promise.resolve().then(function () { | ||
sync = false | ||
}) | ||
}) | ||
} | ||
|
||
it('should be able to use expressions in import', function (done) { | ||
function load(name, expected, callback) { | ||
import('./dir/' + name) | ||
.then(function (result) { | ||
expect(result).toEqual( | ||
nsObj({ | ||
default: expected, | ||
}), | ||
) | ||
callback() | ||
}) | ||
.catch(function (err) { | ||
done(err) | ||
}) | ||
} | ||
testCase(load, done) | ||
}) |
14 changes: 14 additions & 0 deletions
14
...ges/next-swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/import/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,14 @@ | ||
it('should be able to use import', function (done) { | ||
import('./two') | ||
.then(function (two) { | ||
expect(two).toEqual( | ||
nsObj({ | ||
default: 2, | ||
}), | ||
) | ||
done() | ||
}) | ||
.catch(function (err) { | ||
done(err) | ||
}) | ||
}) |
1 change: 1 addition & 0 deletions
1
packages/next-swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/import/two.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 = 2 |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir1/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 default 'a' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir1/b.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 default 'b' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir1/c.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 default 'c' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir1/d.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 default 'd' |
1 change: 1 addition & 0 deletions
1
...wc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir10/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 default 'a' |
1 change: 1 addition & 0 deletions
1
...wc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir11/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 default 'a' |
9 changes: 9 additions & 0 deletions
9
...wc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir12/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,9 @@ | ||
export const c = 'c' | ||
|
||
export const d = 'd' | ||
|
||
export const longnameforexport = 'longnameforexport' | ||
|
||
export default 'default2' | ||
|
||
export const usedExports = __webpack_exports_info__.usedExports |
7 changes: 7 additions & 0 deletions
7
...wc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir13/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,7 @@ | ||
export const c = 'c' | ||
|
||
export const d = 'd' | ||
|
||
export default 'default2' | ||
|
||
export const usedExports = __webpack_exports_info__.usedExports |
7 changes: 7 additions & 0 deletions
7
...wc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir13/b.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,7 @@ | ||
export const a = 'a' | ||
|
||
export const b = 'b' | ||
|
||
export default 'default' | ||
|
||
export const usedExports = __webpack_exports_info__.usedExports |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir2/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 default 'a' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir2/b.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 default 'b' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir2/c.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 default 'c' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir2/d.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 default 'd' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir3/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 default 'a' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir3/b.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 default 'b' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir3/c.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 default 'c' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir3/d.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 default 'd' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir4/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 default 'a' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir4/b.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 default 'b' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir4/c.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 default 'c' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir4/d.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 default 'd' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir5/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 default 'a' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir5/b.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 default 'b' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir5/c.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 default 'c' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir5/d.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 default 'd' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir6/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 default 'a' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir6/b.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 default 'b' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir6/c.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 default 'c' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir6/d.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 default 'd' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir7/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 default 'a' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir7/b.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 default 'b' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir7/c.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 default 'c' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir7/d.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 default 'd' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir8/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 default 'a' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir8/b.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 default 'b' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir8/c.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 default 'c' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir9/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 default 'a' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir9/b.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 default 'b' |
1 change: 1 addition & 0 deletions
1
...swc/crates/next-dev/tests/integration/webpack/chunks/__skipped__/inline-options/dir9/c.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 default 'c' |
Oops, something went wrong.