mirror of
https://github.com/titaniumnetwork-dev/Ultraviolet.git
synced 2025-05-16 13:00:01 -04:00
source-map-loader
This commit is contained in:
parent
f34bb3d640
commit
6dc79663c6
3 changed files with 89 additions and 0 deletions
|
@ -25,6 +25,16 @@ const config = {
|
|||
path: fileURLToPath(new URL('./dist/', import.meta.url)),
|
||||
filename: 'uv.[name].js',
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
enforce: 'pre',
|
||||
use: ['source-map-loader'],
|
||||
},
|
||||
],
|
||||
},
|
||||
ignoreWarnings: [/Failed to parse source map/],
|
||||
optimization: {
|
||||
minimize: !isDevelopment,
|
||||
minimizer: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue