Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: don't split tsconfig.dom.json into two files #11

Merged
merged 1 commit into from
Apr 23, 2023

Conversation

haoqunjiang
Copy link
Member

I found it not very useful to split the dom config into two files.

  • Even @vue/compiler-dom and @vue/runtime-dom are not split into different packages. They have made the -core versions their dependencies.
  • The DOM-specific options are too generic. They are not specific to Vue, but to the browser environment. If separated from the base config, I'm afraid it doesn't deserve the @vue/ scope. It's more useful when it automatically includes the Vue base config.

On the other hand, this change makes the migration from earlier versions more complicated.

I'm sorry for the inconvenience brought to the early adopters. But reverting it now is better than later.

Luckily, I haven't incorporated this change into create-vue yet. According to the npm download stats, the downloads of v0.2.0 is about 1% of v0.1.3. I hope I'm reverting it early enough.

I found it not very useful to split the dom config into two files.

- Even `@vue/compiler-dom` and `@vue/runtime-dom` are not split into
  different packages. They have made the `-core` versions their
  dependencies.
- The DOM-specific options are too generic. They are not specific to
  Vue, but to the browser environment. If separated from the base config,
  I'm afraid it doesn't deserve the `@vue/` scope. It's more useful when
  it automatically includes the Vue base config.

On the other hand, this change makes the migration from earlier versions more
complicated.

I'm sorry for the inconvenience brought to the early adopters. But
reverting it now is better than later.

Luckily, I haven't incorporated this change into `create-vue` yet.
According to the npm download stats, the downloads of v0.2.0 is about
1% of v0.1.3. I hope I'm reverting it early enough.
@haoqunjiang haoqunjiang merged commit ef50567 into main Apr 23, 2023
@haoqunjiang haoqunjiang deleted the feat-merge-tsconfig-dom branch April 23, 2023 07:37
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.

1 participant