Skip to content

Conversation

2heal1
Copy link
Member

@2heal1 2heal1 commented Dec 14, 2023

Description

normalize enhanced webpack import path

Related Issue

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation.

@2heal1 2heal1 changed the base branch from main to canary December 14, 2023 10:21
import ContainerExposedDependency from './ContainerExposedDependency';
import StaticExportsDependency from 'webpack/lib/dependencies/StaticExportsDependency';
import type Compilation from 'webpack/lib/Compilation';
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can configure eslint to allow type imports, not not allow normal imports. so if it has import type, you can make eslint ignore those. @2heal1

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, done

@2heal1 2heal1 merged commit f12a683 into canary Dec 15, 2023
@2heal1 2heal1 deleted the normalize-enhanced branch December 15, 2023 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants