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.
2 parents db2a77f + 970ca03 commit 28f8ea4Copy full SHA for 28f8ea4
package.json
@@ -27,7 +27,12 @@
27
"email": "[email protected]"
28
},
29
"type": "module",
30
- "main": "dist/prettier-plugin-ember-template-tag.js",
+ "exports": {
31
+ ".": {
32
+ "import": "./dist/prettier-plugin-ember-template-tag.js",
33
+ "require": "./dist/prettier-plugin-ember-template-tag.cjs"
34
+ }
35
+ },
36
"scripts": {
37
"build": "tsc && vite build",
38
"example": "pnpm preexample && cd examples && pnpm example",
vite.config.ts
@@ -7,7 +7,7 @@ export default defineConfig({
7
8
lib: {
9
entry: 'src/main.ts',
10
- formats: ['es'],
+ formats: ['es', 'cjs'],
11
12
minify: false,
13
0 commit comments