mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-22 18:22:53 +08:00
ref: 优化 取色和截屏
This commit is contained in:
@@ -25,7 +25,17 @@ let mainConfig = {
|
||||
{
|
||||
test: /\.node$/,
|
||||
use: 'node-loader'
|
||||
}
|
||||
},
|
||||
{
|
||||
test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
|
||||
use: {
|
||||
loader: 'url-loader',
|
||||
query: {
|
||||
limit: 10000,
|
||||
name: 'imgs/[name]--[folder].[ext]'
|
||||
}
|
||||
}
|
||||
},
|
||||
]
|
||||
},
|
||||
node: {
|
||||
|
||||
Reference in New Issue
Block a user