Skip to content

Commit 80bbf66

Browse files
committed
chore: use unbundled preact
1 parent 03d65d9 commit 80bbf66

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

rollup.config.mjs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,15 @@ function pgl(plugins = []) {
5858
...plugins,
5959
alias({
6060
entries: [
61-
{ find: 'react', replacement: '@bpmn-io/properties-panel/preact/compat' },
62-
{ find: 'preact', replacement: '@bpmn-io/properties-panel/preact' }
61+
{ find: 'react', replacement: 'preact/compat' }
6362
]
6463
}),
6564
reactSvg(),
6665
babel({
6766
babelHelpers: 'bundled',
6867
plugins: [
6968
[ '@babel/plugin-transform-react-jsx', {
70-
'importSource': '@bpmn-io/properties-panel/preact',
69+
'importSource': 'preact',
7170
'runtime': 'automatic'
7271
} ]
7372
]

0 commit comments

Comments
 (0)