1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-07 02:28:54 +08:00

add CSV support #27

This commit is contained in:
lana-k
2021-04-09 16:43:20 +02:00
parent c2864b4308
commit b30eeb6788
23 changed files with 1084 additions and 357 deletions

View File

@@ -25,13 +25,6 @@ module.exports = function (config) {
included: false,
served: true,
nocache: false
},
{
pattern: 'node_modules/sql.js/dist/worker.sql-wasm.js',
watched: false,
included: false,
served: true,
nocache: false
}
],
@@ -136,6 +129,10 @@ module.exports = function (config) {
}
]
},
{
test: /\.worker\.js$/,
loader: 'worker-loader'
},
{
test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
loader: 'url-loader'
@@ -181,7 +178,8 @@ module.exports = function (config) {
}
},
proxies: {
'/js/': '/base/node_modules/sql.js/dist/'
'/_karma_webpack_/sql-wasm.wasm': '/base/node_modules/sql.js/dist/sql-wasm.wasm',
'/base/sql-wasm.wasm': '/base/node_modules/sql.js/dist/sql-wasm.wasm'
}
})
// Fix the timezone