forked from fusionjs/fusion-core
-
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.
Upgrade to webpack@4 and babel@7 (fusionjs#281)
- Loading branch information
1 parent
cc67425
commit 88fe6cb
Showing
43 changed files
with
1,636 additions
and
1,658 deletions.
There are no files selected for viewing
5 changes: 2 additions & 3 deletions
5
build/babel-plugins/babel-plugin-asseturl/test/fixtures/expected-import-destructuring
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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
import { assetUrl } from 'fusion-core'; | ||
import { assetUrl as assetUrlOther } from 'assetUrl'; | ||
|
||
const path = './test'; | ||
assetUrl(require('__SECRET_FILE_LOADER__?storeFile=true&storeFileTarget=node!./path')); | ||
assetUrl(require("__SECRET_FILE_LOADER__?storeFile=true&storeFileTarget=node!./path")); | ||
assetUrlOther(path); | ||
assetUrl(require('__SECRET_FILE_LOADER__?storeFile=true&storeFileTarget=node!./path')); | ||
assetUrl(require("__SECRET_FILE_LOADER__?storeFile=true&storeFileTarget=node!./path")); |
3 changes: 1 addition & 2 deletions
3
build/babel-plugins/babel-plugin-asseturl/test/fixtures/expected-import-destructuring-as
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import { assetUrl as frameworkAssetUrl } from 'fusion-core'; | ||
import assetUrl from 'assetURL'; | ||
|
||
assetUrl('./path'); | ||
frameworkAssetUrl(require('__SECRET_FILE_LOADER__?storeFile=true&storeFileTarget=node!./path')); | ||
frameworkAssetUrl(require("__SECRET_FILE_LOADER__?storeFile=true&storeFileTarget=node!./path")); |
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
5 changes: 2 additions & 3 deletions
5
build/babel-plugins/babel-plugin-chunkid/test/fixtures/expected-import-destructuring
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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
import { chunkId } from 'fusion-core'; | ||
import { chunkId as chunkIdOther } from 'chunkId'; | ||
|
||
const path = './test'; | ||
chunkId(require('__SECRET_CHUNK_ID_LOADER__!./path')); | ||
chunkId(require("__SECRET_CHUNK_ID_LOADER__!./path")); | ||
chunkIdOther(path); | ||
chunkId(require('__SECRET_CHUNK_ID_LOADER__!./path')); | ||
chunkId(require("__SECRET_CHUNK_ID_LOADER__!./path")); |
3 changes: 1 addition & 2 deletions
3
build/babel-plugins/babel-plugin-chunkid/test/fixtures/expected-import-destructuring-as
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import { chunkId as frameworkChunkId } from 'fusion-core'; | ||
import chunkId from 'chunkId'; | ||
|
||
chunkId('./path'); | ||
frameworkChunkId(require('__SECRET_CHUNK_ID_LOADER__!./path')); | ||
frameworkChunkId(require("__SECRET_CHUNK_ID_LOADER__!./path")); |
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
4 changes: 2 additions & 2 deletions
4
build/babel-plugins/babel-plugin-experimentation/test/transform.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
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
5 changes: 2 additions & 3 deletions
5
build/babel-plugins/babel-plugin-sync-chunk-ids/test/fixtures/expected-import-destructuring
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import { syncChunkIds } from 'fusion-core'; | ||
import { syncChunkIds as otherSyncChunkIds } from 'syncChunkIds'; | ||
|
||
syncChunkIds(require('__SECRET_SYNC_CHUNK_IDS_LOADER__!')); | ||
otherSyncChunkIds(); | ||
syncChunkIds(require("__SECRET_SYNC_CHUNK_IDS_LOADER__!")); | ||
otherSyncChunkIds(); |
5 changes: 2 additions & 3 deletions
5
.../babel-plugins/babel-plugin-sync-chunk-ids/test/fixtures/expected-import-destructuring-as
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import { syncChunkIds as frameworkSyncChunkIds } from 'fusion-core'; | ||
import syncChunkIds from 'syncChunkIds'; | ||
|
||
frameworkSyncChunkIds(require('__SECRET_SYNC_CHUNK_IDS_LOADER__!')); | ||
syncChunkIds(); | ||
frameworkSyncChunkIds(require("__SECRET_SYNC_CHUNK_IDS_LOADER__!")); | ||
syncChunkIds(); |
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
5 changes: 2 additions & 3 deletions
5
...d/babel-plugins/babel-plugin-sync-chunk-paths/test/fixtures/expected-import-destructuring
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import { syncChunkPaths } from 'fusion-core'; | ||
import { syncChunkPaths as otherSyncChunkPaths } from 'syncChunkPaths'; | ||
|
||
syncChunkPaths(require('__SECRET_SYNC_CHUNK_PATHS_LOADER__!')); | ||
otherSyncChunkPaths(); | ||
syncChunkPaths(require("__SECRET_SYNC_CHUNK_PATHS_LOADER__!")); | ||
otherSyncChunkPaths(); |
5 changes: 2 additions & 3 deletions
5
...abel-plugins/babel-plugin-sync-chunk-paths/test/fixtures/expected-import-destructuring-as
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import { syncChunkPaths as frameworkSyncChunkPaths } from 'fusion-core'; | ||
import syncChunkPaths from 'syncChunkPaths'; | ||
|
||
frameworkSyncChunkPaths(require('__SECRET_SYNC_CHUNK_PATHS_LOADER__!')); | ||
syncChunkPaths(); | ||
frameworkSyncChunkPaths(require("__SECRET_SYNC_CHUNK_PATHS_LOADER__!")); | ||
syncChunkPaths(); |
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.