mirror of
https://github.com/ecomfe/vue-echarts.git
synced 2025-08-14 11:00:16 +08:00
docs: use local wasm file
This commit is contained in:
@ -20,6 +20,14 @@ export default {
|
||||
.test(/\.svg$/)
|
||||
.type("asset/source");
|
||||
|
||||
config.module
|
||||
.rule('wasm')
|
||||
.test(/\.wasm$/)
|
||||
.type('asset/resource')
|
||||
.set('generator', {
|
||||
filename: '[name].[hash:8][ext]'
|
||||
})
|
||||
|
||||
config.plugin("define").tap(([options]) => [
|
||||
{
|
||||
...options,
|
||||
|
Reference in New Issue
Block a user