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

Use CommonJS module instead of ES #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

constgen
Copy link

@constgen constgen commented Jul 25, 2020

Make the package more compatible with different build infrastructures. Fixes #2

Imports in ES style will still work if we use Webpack

import {createContext} from 'vue-create-context'

We loose nothing as Tree Shaking in this small library makes no sense

constgen added 2 commits July 25, 2020 13:23
Makes the package more compatible with different build infrastructures
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.

The package can't be imported in some Webpack configurations
1 participant