Skip to content

Commit a397809

Browse files
committed
output cjs only
1 parent 04742dd commit a397809

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,8 @@
2626
"name": "Krystan HuffMenne",
2727
"email": "[email protected]"
2828
},
29-
"type": "module",
3029
"exports": {
31-
".": {
32-
"import": "./dist/prettier-plugin-ember-template-tag.js",
33-
"require": "./dist/prettier-plugin-ember-template-tag.cjs"
34-
}
30+
".": "./dist/prettier-plugin-ember-template-tag.js"
3531
},
3632
"scripts": {
3733
"build": "tsc && vite build",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"sourceMap": true,
99
"resolveJsonModule": true,
1010
"isolatedModules": true,
11-
"verbatimModuleSyntax": true,
11+
// "verbatimModuleSyntax": true,
1212
"noEmit": true,
1313

1414
"paths": {

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default defineConfig({
1313
},
1414
lib: {
1515
entry: 'src/main.ts',
16-
formats: ['es', 'cjs'],
16+
formats: ['cjs'],
1717
},
1818
minify: false,
1919
},

0 commit comments

Comments
 (0)