vue-create-context icon indicating copy to clipboard operation
vue-create-context copied to clipboard

Use CommonJS module instead of ES

Open constgen opened this issue 4 years ago • 0 comments

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 avatar Jul 25 '20 10:07 constgen