提交 9007dfc9 编写于 作者: M Martin Aeschlimann

json webpack fixes

上级 8e58baf5
......@@ -14,11 +14,11 @@ const webpack = require('webpack');
const config = withDefaults({
context: path.join(__dirname, 'client'),
entry: {
extension: './src/jsonMain.ts',
extension: './src/node/jsonClientMain.ts'
},
output: {
filename: 'jsonMain.js',
path: path.join(__dirname, 'client', 'dist')
filename: 'jsonClientMain.js',
path: path.join(__dirname, 'client', 'dist', 'node')
}
});
......
......@@ -14,11 +14,11 @@ const webpack = require('webpack');
const config = withDefaults({
context: path.join(__dirname),
entry: {
extension: './src/jsonServerMain.ts',
extension: './src/node/jsonServerMain.ts',
},
output: {
filename: 'jsonServerMain.js',
path: path.join(__dirname, 'dist')
path: path.join(__dirname, 'dist', 'node'),
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册