Tornado Contrib
f090e06026
Either ts-loader or babel-loader to bundle workers didn't work properly so I transpiled them by hand
20 lines
378 B
JavaScript
20 lines
378 B
JavaScript
import path from 'path'
|
|
|
|
export default [
|
|
{
|
|
mode: 'production',
|
|
entry: './assets/events.worker.js',
|
|
output: {
|
|
path: path.resolve('static'),
|
|
filename: 'events.worker.js',
|
|
}
|
|
},
|
|
{
|
|
mode: 'production',
|
|
entry: './assets/nullifier.worker.js',
|
|
output: {
|
|
path: path.resolve('static'),
|
|
filename: 'nullifier.worker.js',
|
|
}
|
|
}
|
|
] |