Skip to content

Commit 64a7764

Browse files
patinthehatPatrick
authored andcommitted
update vue2/3 exports, update changelog
1 parent c208196 commit 64a7764

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to `permafrost-dev/vue-ray` will be documented in this file.
44

55
---
66

7+
## 1.4.1 - 2021-02-09
8+
9+
- fix `/vue2` export
10+
11+
- fix `/vue3` export
12+
713
## 1.4.0 - 2021-02-09
814

915
- change vue2/vue3 to use module.exports

vue2.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
/* eslint-disable no-unused-vars */
2+
/* eslint-disable no-undef */
13

2-
const { RayPlugin } = require('./dist/vue2.cjs');
4+
const RayPlugin = require('./dist/vue2.cjs');
35

4-
module.exports.RayPlugin = RayPlugin;
6+
module.exports = { RayPlugin };
57

vue3.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable no-unused-vars */
22
/* eslint-disable no-undef */
33

4-
const { RayPlugin } = require('./dist/vue3.cjs');
4+
const RayPlugin = require('./dist/vue3.cjs');
55

6-
module.exports.RayPlugin = RayPlugin;
6+
module.exports = { RayPlugin };

0 commit comments

Comments
 (0)