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 65c89a4 commit deab4edCopy full SHA for deab4ed
libs/ngx-blocknote/package.json
@@ -45,7 +45,8 @@
45
},
46
".": {
47
"types": "./index.d.ts",
48
- "default": "./fesm2022/dytab-ngx-blocknote.js"
+ "import": "./fesm2022/dytab-ngx-blocknote.js",
49
+ "require": "./fesm2022/dytab-ngx-blocknote.cjs"
50
}
51
52
libs/ngx-blocknote/vite.config.ts
@@ -38,7 +38,7 @@ export default defineConfig(() => ({
38
cssFileName: 'themes/styles',
39
fileName: `fesm2022/dytab-ngx-blocknote`,
40
name: 'ngx-blocknote',
41
- formats: ['es' as const],
+ formats: ['cjs' as const, 'es' as const],
42
43
rollupOptions: {
44
external: [
0 commit comments