mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
separate :workers build
This commit is contained in:
@@ -3,10 +3,14 @@ const webpack = require('webpack');
|
||||
|
||||
module.exports = {
|
||||
mode: "development",
|
||||
entry: './target/index.js',
|
||||
entry: {
|
||||
main : "./target/main.js",
|
||||
workers : "./target/workers.js"
|
||||
},
|
||||
|
||||
output: {
|
||||
path: path.resolve(__dirname, 'static/js/libs'),
|
||||
filename: 'bundle.js',
|
||||
filename: '[name]-bundle.js',
|
||||
clean: true,
|
||||
chunkLoading: false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user