Skip to content

Commit

Permalink
Fix output tab not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommypop2 committed Sep 25, 2023
1 parent 0526941 commit 6464b2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/solid-repl/repl/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ function compile(tabs: Tab[], event: string) {

function babel(tab: Tab, compileOpts: any) {
const { code } = transform(tab.source, {
plugins: [['proposal-decorators', { decoratorsBeforeExport: true }], 'transform-class-properties'],
presets: [
[babelPresetSolid, compileOpts],
['typescript', { onlyRemoveTypeImports: true }],
Expand Down

0 comments on commit 6464b2b

Please sign in to comment.