mirror of
https://github.com/mathuo/dockview
synced 2025-05-02 09:38:26 +00:00
docs: sourcemaps
This commit is contained in:
parent
559bf48372
commit
a084c8b5b0
@ -45,6 +45,15 @@ const config = {
|
||||
return {
|
||||
// externals: ['react', 'react-dom'],
|
||||
devtool: 'source-map',
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
enforce: 'pre',
|
||||
use: ['source-map-loader'],
|
||||
},
|
||||
],
|
||||
},
|
||||
resolve: {
|
||||
...config.resolve,
|
||||
alias: {
|
||||
|
@ -28,6 +28,7 @@
|
||||
"react-dnd": "^16.0.1",
|
||||
"react-dom": "^18.2.0",
|
||||
"recoil": "^0.7.6",
|
||||
"source-map-loader": "^4.0.1",
|
||||
"uuid": "^9.0.0",
|
||||
"xml2js": "^0.4.23"
|
||||
},
|
||||
@ -61,4 +62,4 @@
|
||||
"last 1 safari version"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user