-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow import control via configuration file
- Loading branch information
Showing
13 changed files
with
179 additions
and
65 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
[ | ||
{ | ||
"name": "dist/es2015/index.js, dist/es2015/boot.js", | ||
"name": "dist/es2015/entrypoints/index.js, dist/es2015/entrypoints/boot.js", | ||
"passed": true, | ||
"size": 3480 | ||
"size": 3434 | ||
}, | ||
{ | ||
"name": "dist/es2015/index.js", | ||
"name": "dist/es2015/entrypoints/index.js", | ||
"passed": true, | ||
"size": 3157 | ||
"size": 3156 | ||
}, | ||
{ | ||
"name": "dist/es2015/boot.js", | ||
"name": "dist/es2015/entrypoints/boot.js", | ||
"passed": true, | ||
"size": 1802 | ||
"size": 1763 | ||
} | ||
] |
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,13 @@ | ||
/* eslint-disable */ | ||
/* tslint:disable */ | ||
|
||
// generated by react-imported-component, DO NOT EDIT | ||
import {assignImportedComponents} from 'react-imported-component/macro'; | ||
|
||
const PreloadComponent = imported(() => import('./PreloadThis')); | ||
const PrefetchChunkComponent = imported(() => import('./ChunkThis')); | ||
|
||
const applicationImports = assignImportedComponents([ | ||
[() => import('./should-not-be-transformed'), '', './some-file', false], | ||
]); | ||
|
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,13 @@ | ||
var importedWrapper = require('react-imported-component/wrapper'); | ||
|
||
import { assignImportedComponents } from "react-imported-component/boot"; | ||
|
||
/* eslint-disable */ | ||
|
||
/* tslint:disable */ | ||
// generated by react-imported-component, DO NOT EDIT | ||
const PreloadComponent = imported(() => importedWrapper("imported_-hbct7n_component", import('./PreloadThis'))); | ||
const PrefetchChunkComponent = imported(() => importedWrapper("imported_fspdct_component", import( | ||
/* webpackChunkName: "chunked-this" */ | ||
'./ChunkThis'))); | ||
const applicationImports = assignImportedComponents([[() => importedWrapper("imported_12i8gg9_component", import('./should-not-be-transformed')), '', './some-file', false]]); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const CLIENT_SIDE_ONLY = 'client-side'; |
Oops, something went wrong.