Skip to content

Commit

Permalink
chore: fix playgrounds paths
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Jun 27, 2023
1 parent 9a1a2af commit f9ccc98
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 24 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ build/*.css
build/*.less
build/*.scss
build/**/*.js
build/**/*.mjs
build/**/*.ts
build/*.map
package/*.css
Expand Down
7 changes: 0 additions & 7 deletions build/element/package.json

This file was deleted.

9 changes: 3 additions & 6 deletions build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,14 @@
"types": "atropos.d.ts",
"type": "module",
"exports": {
".": "./esm/atropos.esm.js",
"./esm": "./react/atropos.esm.js",
"./esm/browser": "./react/atropos.esm.browser.js",
"./esm/browser/min": "./react/atropos.esm.browser.min.js",
"./react": "./react/atropos-react.esm.js",
".": "./atropos.mjs",
"./react": "./atropos-react.mjs",
"./atropos.js": "./atropos.js",
"./atropos.min.js": "./atropos.min.js",
"./atropos.css": "./atropos.css",
"./atropos.min.css": "./atropos.min.css",
"./atropos.less": "./atropos.less",
"./atropos.scss": "./atropos.scss",
"./element": "./element/atropos-element.esm.js"
"./element": "./atropos-element.mjs"
}
}
8 changes: 0 additions & 8 deletions build/react/package.json

This file was deleted.

4 changes: 2 additions & 2 deletions playground/element/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// eslint-disable-next-line import/no-unresolved
import AtroposComponent from '../../build/element';
// eslint-disable-next-line
import AtroposComponent from '../../build/atropos-element.mjs';

customElements.define('atropos-component', AtroposComponent);
2 changes: 1 addition & 1 deletion playground/react/App.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import Atropos from '../../build/react';
import Atropos from '../../build/atropos-react.mjs';

const App = () => {
return (
Expand Down

0 comments on commit f9ccc98

Please sign in to comment.