mirror of
https://github.com/PHIDIAS0303/ClusterChatSync.git
synced 2026-11-21 16:03:12 +09:00
.
This commit is contained in:
1 parent
a9694d72fd
commit
a4d67bdff2
1 file changed
+3
-3
+3
-3
@@ -1,8 +1,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const webpack = require('webpack');
|
const webpack = require('webpack');
|
||||||
const { merge } = require('webpack-merge');
|
const {merge} = require('webpack-merge');
|
||||||
|
|
||||||
const common = require('@clusterio/web_ui/webpack.common');
|
const common = require('@clusterio/web_ui/webpack.common');
|
||||||
|
|
||||||
module.exports = (env = {}, argv = {}) => merge(common(env, argv), {
|
module.exports = (env = {}, argv = {}) => merge(common(env, argv), {
|
||||||
@@ -17,7 +16,8 @@ module.exports = (env = {}, argv = {}) => merge(common(env, argv), {
|
|||||||
library: {type: 'var', name: 'plugin_chat_relay'},
|
library: {type: 'var', name: 'plugin_chat_relay'},
|
||||||
exposes: {
|
exposes: {
|
||||||
'./': './index.ts',
|
'./': './index.ts',
|
||||||
'./package.json': './package.json'
|
'./package.json': './package.json',
|
||||||
|
'./web': './web/index.tsx',
|
||||||
},
|
},
|
||||||
shared: {
|
shared: {
|
||||||
'@clusterio/lib': {import: false},
|
'@clusterio/lib': {import: false},
|
||||||
|
|||||||
Reference in new issue
Block a user