export chatbox as react component
This commit is contained in:
parent
b709245b46
commit
8439a1d100
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,3 @@
|
|||
import Chatbox from '../components/chatbox';
|
||||
|
||||
export default Chatbox;
|
|
@ -94,4 +94,15 @@ module.exports = [{
|
|||
publicPath: '/',
|
||||
filename: 'bookmarklet.js',
|
||||
},
|
||||
}, {
|
||||
...defaultConfig,
|
||||
entry: './src/outputs/component.js',
|
||||
output: {
|
||||
path: distDir,
|
||||
publicPath: '/',
|
||||
filename: 'component.js',
|
||||
library: 'Chatbox',
|
||||
libraryExport: 'default',
|
||||
libraryTarget: 'commonjs2',
|
||||
},
|
||||
}];
|
||||
|
|
Loading…
Reference in New Issue