We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2ab062 commit dc9c56fCopy full SHA for dc9c56f
package.json
@@ -14,7 +14,7 @@
14
"scripts": {
15
"prepare": "npx simple-git-hooks",
16
"build": "mkdir -p dist && terser src/index.js -o dist/preact-custom-element.js --config-file terser-config.json",
17
- "test": "npm run test:types & npm run test:browser",
+ "test": "npm run test:types && npm run test:browser",
18
"test:browser": "wtr test/browser/*.test.{js,jsx}",
19
"test:types": "tsc -p test/types/",
20
"lint": "eslint src/*.js",
test/types/index.test.tsx
@@ -1,5 +1,5 @@
1
import { h } from 'preact';
2
-import registerElement from '../../src/index';
+import registerElement from '../../src/index.js';
3
4
interface AppProps {
5
name: string;
0 commit comments