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

Feature/esm transpiled dist #27

Merged
merged 4 commits into from
Apr 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ npm install -S @dreipol/vue-ui
Pick any of the modules by importing them in your project, for example:

```js
import { UiInput } from '@dreipol/vue-ui/src/components'
import { UiInput } from '@dreipol/vue-ui'

export default {
components: { UiInput },
Expand Down
21 changes: 13 additions & 8 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
module.exports = {
plugins: [
'@babel/plugin-proposal-object-rest-spread',
[
'istanbul',
{
exclude: [
'**/*.spec.js',
],
},
],
'@babel/plugin-proposal-export-namespace-from',
],
env: {
test: {
plugins: [[
'istanbul',
{
exclude: [
'**/*.spec.js',
],
},
]],
},
},
presets: [
[
'@babel/preset-env',
Expand Down