Framework updates
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
4
node_modules/webpack/lib/dependencies/ImportPhase.js
generated
vendored
4
node_modules/webpack/lib/dependencies/ImportPhase.js
generated
vendored
@@ -27,12 +27,16 @@ const ImportPhase = Object.freeze({
|
||||
|
||||
/**
|
||||
* @typedef {object} ImportPhaseUtils
|
||||
* @property {(phase: ImportPhaseType) => boolean} isEvaluation true if phase is evaluation
|
||||
* @property {(phase: ImportPhaseType) => boolean} isDefer true if phase is defer
|
||||
* @property {(phase: ImportPhaseType) => boolean} isSource true if phase is source
|
||||
*/
|
||||
|
||||
/** @type {ImportPhaseUtils} */
|
||||
const ImportPhaseUtils = {
|
||||
isEvaluation(phase) {
|
||||
return phase === ImportPhase.Evaluation;
|
||||
},
|
||||
isDefer(phase) {
|
||||
return phase === ImportPhase.Defer;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user