mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
chore: note on conditional virtual entry if needed
This commit is contained in:
@ -12,7 +12,9 @@ export default function (config: Config, env: IWebpackEnv = _env): Config {
|
|||||||
const entryPath = getEntryPath();
|
const entryPath = getEntryPath();
|
||||||
const virtualEntryPath = path.resolve(
|
const virtualEntryPath = path.resolve(
|
||||||
__dirname,
|
__dirname,
|
||||||
`../stubs/virtual-entry-typescript.${env.commonjs ? 'js' : 'mjs'}`,
|
// Note: not sure we'll need this but just an idea if we do.
|
||||||
|
// `../stubs/virtual-entry-typescript.${env.commonjs ? 'js' : 'mjs'}`,
|
||||||
|
`../stubs/virtual-entry-typescript.js`,
|
||||||
);
|
);
|
||||||
|
|
||||||
// exclude files starting with _ from require.context
|
// exclude files starting with _ from require.context
|
||||||
|
Reference in New Issue
Block a user