Skip to content

Commit

Permalink
De-typescriptify bundle url files (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjervis authored Dec 16, 2024
1 parent c2c3540 commit 5a0e0f9
Show file tree
Hide file tree
Showing 22 changed files with 323 additions and 303 deletions.
8 changes: 4 additions & 4 deletions packages/core/integration-tests/test/BundleGraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ describe('BundleGraph', () => {
},
{
type: 'asset',
value: 'bundle-url.ts',
value: 'bundle-url.js',
},
{
type: 'asset',
value: 'bundle-url-common.ts',
value: 'bundle-url-common.js',
},
{
type: 'asset',
Expand All @@ -80,11 +80,11 @@ describe('BundleGraph', () => {
},
{
type: 'asset',
value: 'bundle-url.ts',
value: 'bundle-url.js',
},
{
type: 'asset',
value: 'bundle-url-common.ts',
value: 'bundle-url-common.js',
},
{
type: 'asset',
Expand Down
4 changes: 2 additions & 2 deletions packages/core/integration-tests/test/bundle-text.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ describe('bundle-text:', function () {
: [
'index.js',
'esmodule-helpers.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'js-loader.js',
],
Expand Down
84 changes: 42 additions & 42 deletions packages/core/integration-tests/test/bundler.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ describe('bundler', function () {
name: 'index.js',
assets: [
'index.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'esmodule-helpers.js',
'js-loader.js',
Expand Down Expand Up @@ -160,8 +160,8 @@ describe('bundler', function () {
name: 'index.js',
assets: [
'index.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'esmodule-helpers.js',
'js-loader.js',
Expand Down Expand Up @@ -255,8 +255,8 @@ describe('bundler', function () {
name: 'index.js',
assets: [
'index.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'esmodule-helpers.js',
'js-loader.js',
Expand Down Expand Up @@ -347,8 +347,8 @@ describe('bundler', function () {
name: 'index.js',
assets: [
'index.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'esmodule-helpers.js',
'js-loader.js',
Expand Down Expand Up @@ -466,8 +466,8 @@ describe('bundler', function () {
name: 'index.js',
assets: [
'index.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'esmodule-helpers.js',
'js-loader.js',
Expand Down Expand Up @@ -545,8 +545,8 @@ describe('bundler', function () {
name: 'index.js',
assets: [
'index.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'esmodule-helpers.js',
'js-loader.js',
Expand Down Expand Up @@ -624,8 +624,8 @@ describe('bundler', function () {
assets: [
'inline-module.js',
'local.html',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'js-loader.js',
],
Expand Down Expand Up @@ -655,8 +655,8 @@ describe('bundler', function () {
name: 'index.js',
assets: [
'index.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'css-loader.js',
'esmodule-helpers.js',
Expand Down Expand Up @@ -708,8 +708,8 @@ describe('bundler', function () {
name: 'index.js',
assets: [
'index.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'css-loader.js',
'esmodule-helpers.js',
Expand Down Expand Up @@ -760,8 +760,8 @@ describe('bundler', function () {
name: 'index.js',
assets: [
'index.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'css-loader.js',
'esmodule-helpers.js',
Expand Down Expand Up @@ -815,8 +815,8 @@ describe('bundler', function () {
name: 'index.js',
assets: [
'index.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'css-loader.js',
'esmodule-helpers.js',
Expand Down Expand Up @@ -869,8 +869,8 @@ describe('bundler', function () {
name: 'index.js',
assets: [
'index.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'css-loader.js',
'esmodule-helpers.js',
Expand Down Expand Up @@ -945,7 +945,7 @@ describe('bundler', function () {
],
},
{
assets: ['bundle-manifest.js', 'bundle-url.ts', 'bundle-url-common.ts'], // manifest bundle
assets: ['bundle-manifest.js', 'bundle-url.js', 'bundle-url-common.js'], // manifest bundle
},
{
assets: [
Expand All @@ -957,7 +957,7 @@ describe('bundler', function () {
],
},
{
assets: ['bundle-manifest.js', 'bundle-url.ts', 'bundle-url-common.ts'], // manifest bundle
assets: ['bundle-manifest.js', 'bundle-url.js', 'bundle-url-common.js'], // manifest bundle
},
{
assets: ['c.js'],
Expand Down Expand Up @@ -1013,8 +1013,8 @@ describe('bundler', function () {
assets: [
'a.js',
'b.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'js-loader.js',
'esmodule-helpers.js',
Expand Down Expand Up @@ -1085,8 +1085,8 @@ describe('bundler', function () {
name: 'index.js',
assets: [
'index.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'esmodule-helpers.js',
'js-loader.js',
Expand Down Expand Up @@ -1428,8 +1428,8 @@ describe('bundler', function () {
{
assets: [
'bundle-manifest.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'css-loader.js',
'esmodule-helpers.js',
Expand Down Expand Up @@ -1596,8 +1596,8 @@ describe('bundler', function () {
{
assets: [
'bundle-manifest.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'css-loader.js',
'esmodule-helpers.js',
Expand Down Expand Up @@ -1898,8 +1898,8 @@ describe('bundler', function () {
{
assets: [
'bundle-manifest.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'index.js',
'js-loader.js',
Expand Down Expand Up @@ -1976,8 +1976,8 @@ describe('bundler', function () {
{
assets: [
'bundle-manifest.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'index.js',
'js-loader.js',
Expand Down Expand Up @@ -2058,8 +2058,8 @@ describe('bundler', function () {
{
assets: [
'bundle-manifest.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'index.js',
'js-loader.js',
Expand Down Expand Up @@ -2347,8 +2347,8 @@ describe('bundler', function () {
assets: [
'a.js',
'b.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'esmodule-helpers.js',
'js-loader.js',
Expand Down
24 changes: 12 additions & 12 deletions packages/core/integration-tests/test/cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -4998,8 +4998,8 @@ describe.v2('cache', function () {
assets: [
'index.js',
'c.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'js-loader.js',
'bundle-manifest.js',
Expand Down Expand Up @@ -5037,8 +5037,8 @@ describe.v2('cache', function () {
assets: [
'index.js',
'c.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'js-loader.js',
'bundle-manifest.js',
Expand Down Expand Up @@ -5114,8 +5114,8 @@ describe.v2('cache', function () {
assets: [
'index.js',
'c.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'js-loader.js',
'bundle-manifest.js',
Expand Down Expand Up @@ -5153,8 +5153,8 @@ describe.v2('cache', function () {
assets: [
'index.js',
'c.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'js-loader.js',
'bundle-manifest.js',
Expand Down Expand Up @@ -5194,8 +5194,8 @@ describe.v2('cache', function () {
assets: [
'index.js',
'c.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'js-loader.js',
'bundle-manifest.js',
Expand Down Expand Up @@ -5227,8 +5227,8 @@ describe.v2('cache', function () {
assets: [
'index.js',
'c.js',
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'js-loader.js',
'bundle-manifest.js',
Expand Down
12 changes: 6 additions & 6 deletions packages/core/integration-tests/test/css.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ describe('css', () => {
name: 'entry.js',
type: 'js',
assets: [
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'entry.js',
'js-loader.js',
Expand All @@ -107,8 +107,8 @@ describe('css', () => {
name: 'entry.js',
type: 'js',
assets: [
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'css-loader.js',
'entry.js',
Expand All @@ -132,8 +132,8 @@ describe('css', () => {
{
name: 'index.js',
assets: [
'bundle-url.ts',
'bundle-url-common.ts',
'bundle-url.js',
'bundle-url-common.js',
'cacheLoader.js',
'css-loader.js',
'index.js',
Expand Down
Loading

0 comments on commit 5a0e0f9

Please sign in to comment.