mirror of
https://github.com/Safe-Support-Chat/ocrcc-chatbox
synced 2024-11-05 02:45:25 +00:00
309bfd6a5b
* adding optional parameters * updating bodyText mount prop to default * updating snapshot for new props * adding parent element for mounting * adding null default for parentElement * adding dist to gitignore * adding test case for mounting to element * adding div to document in test * unmount after test * updating test to pass * updating eslint to handle certain rules as warning and fix others
8 lines
160 B
JavaScript
8 lines
160 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
process(src, filename) {
|
|
return `module.exports = ${JSON.stringify(path.basename(filename))};`;
|
|
},
|
|
};
|