💚 Fix embeds build and create-block CLI
This commit is contained in:
@ -35,7 +35,8 @@
|
||||
"rollup-plugin-typescript-paths": "1.4.0",
|
||||
"tslib": "2.6.0",
|
||||
"tsx": "3.12.7",
|
||||
"typescript": "5.3.2"
|
||||
"typescript": "5.3.2",
|
||||
"@rollup/plugin-typescript": "11.1.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"next": "12.x || 13.x || 14.x",
|
||||
|
@ -2,6 +2,7 @@ import resolve from '@rollup/plugin-node-resolve'
|
||||
import terser from '@rollup/plugin-terser'
|
||||
import { babel } from '@rollup/plugin-babel'
|
||||
import { typescriptPaths } from 'rollup-plugin-typescript-paths'
|
||||
import typescript from '@rollup/plugin-typescript'
|
||||
import fs from 'fs'
|
||||
|
||||
const extensions = ['.ts', '.tsx']
|
||||
@ -26,6 +27,7 @@ const indexConfig = {
|
||||
extensions,
|
||||
}),
|
||||
typescriptPaths({ preserveExtensions: true }),
|
||||
typescript(),
|
||||
terser({ format: { preamble } }),
|
||||
],
|
||||
}
|
||||
|
Reference in New Issue
Block a user