Skip to content

Commit

Permalink
Fix stylesheet export for vuexr for Vite. Bump to version 0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Atokulus committed Feb 10, 2023
1 parent 448e82e commit 10632db
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ or at https://technokrat.ch
```
4. Include `vuexr` CSS-styles in your top package:
```css
@import 'vuexr';
@import 'vuexr/style';
```
5. Copy the `worker.*.js` file within the `node_modules/vuexr/assets/` folder into your public path under `/assets/`. Example for Vite:
```js
Expand Down
File renamed without changes.
File renamed without changes.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vuexr",
"version": "0.5.1",
"version": "0.5.2",
"description": "VueXR is a Vue plugin that let's you project regular DOM components onto augmented reality (AR) markers in real-time.",
"engines": {
"yarn": ">=1.22.19",
Expand All @@ -9,23 +9,23 @@
"files": [
"dist/**/*.js",
"dist/**/*.cjs",
"dist/**/*.mjs",
"dist/**/*.umd.js",
"dist/**/*.d.ts",
"dist/**/*.d.ts.map",
"dist/**/*.css",
"dist/**/*.html",
"src/opencv/build_simd/opencv.js"
],
"main": "dist/vuexr.umd.js",
"module": "dist/vuexr.mjs",
"type": "module",
"main": "dist/vuexr.umd.cjs",
"module": "dist/vuexr.js",
"types": "dist/index.d.ts",
"style": "dist/style.css",
"exports": {
".": {
"import": "./dist/vuexr.mjs",
"require": "./dist/vuexr.umd.js"
"import": "./dist/vuexr.js",
"require": "./dist/vuexr.umd.cjs"
},
"./style": "./dist/style.css",
"./opencv": "./src/opencv/build_simd/opencv.js"
},
"scripts": {
Expand Down

0 comments on commit 10632db

Please sign in to comment.