Skip to content

Commit

Permalink
build(core): add source-map-loader for blocksuite codes (#6137)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Mar 18, 2024
1 parent 92d7f31 commit c00cddf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/frontend/core/.webpack/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,12 @@ export const createConfiguration: (
fullySpecified: false,
},
},
{
test: /\.js$/,
enforce: 'pre',
include: /@blocksuite/,
use: ['source-map-loader'],
},
{
oneOf: [
{
Expand Down

0 comments on commit c00cddf

Please sign in to comment.