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