mirror of
https://github.com/zhigang1992/workers-graphql-server.git
synced 2026-01-12 22:53:37 +08:00
15 lines
228 B
JavaScript
15 lines
228 B
JavaScript
const path = require('path')
|
|
|
|
module.exports = {
|
|
target: 'webworker',
|
|
resolve: {
|
|
alias: {
|
|
fs: path.resolve(__dirname, './null.js'),
|
|
},
|
|
},
|
|
mode: 'production',
|
|
optimization: {
|
|
usedExports: true,
|
|
},
|
|
}
|